mirror of
https://github.com/xcat2/confluent.git
synced 2025-03-19 01:47:45 +00:00
Fix issues in the auth nets logic
This commit is contained in:
parent
0d2a1b856b
commit
8bf067cac8
@ -19,6 +19,7 @@ import confluent.netutil as netutil
|
||||
import confluent.util as util
|
||||
import datetime
|
||||
import eventlet
|
||||
import eventlet.green.select as select
|
||||
import eventlet.green.socket as socket
|
||||
import eventlet.greenpool
|
||||
import hashlib
|
||||
@ -71,7 +72,7 @@ def watch_trusted():
|
||||
'# when a node has deployment API armed\n')
|
||||
try:
|
||||
read_authnets(cfgpath)
|
||||
except Exceptien:
|
||||
except Exception:
|
||||
eventlet.sleep(15)
|
||||
continue
|
||||
if libc.inotify_add_watch(watcher, bcfgpath, 0xcc2) <= -1:
|
||||
|
Loading…
x
Reference in New Issue
Block a user