fix a sleep statement in the gc thread
This commit is contained in:
parent
e6f8dbd1e8
commit
a291010ae1
2
bert.py
2
bert.py
|
@ -568,7 +568,7 @@ def gc_cycle():
|
||||||
# fire the garbage collector
|
# fire the garbage collector
|
||||||
gc.set_debug(gc.DEBUG_STATS)
|
gc.set_debug(gc.DEBUG_STATS)
|
||||||
gc.collect()
|
gc.collect()
|
||||||
time.sleep(120)
|
sleep(120)
|
||||||
except Exception as err:
|
except Exception as err:
|
||||||
print("Error in garbage collector! - "+str(err))
|
print("Error in garbage collector! - "+str(err))
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user