mirror of
https://github.com/clearlinux/uwsgi.git
synced 2026-09-06 21:51:30 +00:00
fixed locking reporting on older systems
This commit is contained in:
+4
-1
@@ -507,7 +507,10 @@ class uConf(object):
|
||||
elif locking_mode == 'osx_spinlock':
|
||||
self.cflags.append('-DUWSGI_LOCK_USE_OSX_SPINLOCK')
|
||||
|
||||
report['locking'] = locking_mode
|
||||
if locking_mode == 'auto':
|
||||
report['locking'] = 'sysv semaphores'
|
||||
else:
|
||||
report['locking'] = locking_mode
|
||||
|
||||
# set event subsystem
|
||||
event_mode = self.get('event','auto')
|
||||
|
||||
Reference in New Issue
Block a user