Skip to content

Commit

Permalink
skip ulimit
Browse files Browse the repository at this point in the history
Signed-off-by: Praneeth Bedapudi <praneeth@bpraneeth.com>
  • Loading branch information
bedapudi6788 committed Dec 16, 2023
1 parent d59467e commit 97875db
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
7 changes: 6 additions & 1 deletion liteindex/common_utils.py
Original file line number Diff line number Diff line change
@@ -1,8 +1,13 @@
# ----------- Update ulimit -----------
import resource
try:
import resource
except:
resource = None


def set_ulimit():
if resource is None:
return
soft, hard = resource.getrlimit(resource.RLIMIT_NOFILE)

limit = hard - 1
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
EMAIL = "praneeth@bpraneeth.com"
AUTHOR = "BEDAPUDI PRANEETH"
REQUIRES_PYTHON = ">=3.6.0"
VERSION = "0.0.2.dev34"
VERSION = "0.0.2.dev35"

# What packages are required for this module to be executed?
REQUIRED = []
Expand Down

0 comments on commit 97875db

Please sign in to comment.