feat(client): preliminary work on watchdog system

This commit is contained in:
Swann Martinez
2019-05-02 18:38:06 +02:00
parent f4cd489ea4
commit 5fd13eb5ba
2 changed files with 13 additions and 8 deletions

View File

@ -506,7 +506,8 @@ def watchdog_worker(feed,interval, stop_event):
item.id = bpy.context.scene.session_settings.username
key = "{}/{}".format(datatype, item.name)
feed.put(('DUMP',key,None))
elif item.is_dirty:
logger.info("{} needs update".format(item.name))
time.sleep(interval)
logger.info("watchdog thread stopped")