Skip to content

Commit

Permalink
Clean up thread check
Browse files Browse the repository at this point in the history
  • Loading branch information
knabar committed Feb 8, 2024
1 parent aa80866 commit f0c5f6b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions omeroweb/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -1258,11 +1258,6 @@ def check_worker_class(c):
return str(c)


def check_threading(t):
t = int(t)
return t


# DEVELOPMENT_SETTINGS_MAPPINGS - WARNING: For each setting developer MUST open
# a ticket that needs to be resolved before a release either by moving the
# setting to CUSTOM_SETTINGS_MAPPINGS or by removing the setting at all.
Expand Down Expand Up @@ -1290,7 +1285,7 @@ def check_threading(t):
"omero.web.wsgi_threads": [
"WSGI_THREADS",
1,
check_threading,
int,
(
"(SYNC WORKERS only) The number of worker threads for handling "
"requests. Check Gunicorn Documentation "
Expand Down

0 comments on commit f0c5f6b

Please sign in to comment.