BotBotMe / botbot-web

Web interface for BotBot.me
https://lincolnloop.com/blog/saying-goodbye-botbotme/
Other
152 stars 32 forks source link

REFRESH command can be triggered before data is on disk #70

Closed vbabiy closed 10 years ago

vbabiy commented 10 years ago

Currently we have a hack in place to wait 10 seconds before issuing refresh to make sure the data is saved to disk.

https://github.com/BotBotMe/botbot-web/blob/master/botbot/apps/bots/admin.py#L85-92

We should fix this hack.

yml commented 10 years ago

I removed the sleep (that was not working) in favor of an action that needs to be manually triggered when we want to "REFRESH" botbot-bot configuration.

@vbabiy @mtrythall is that could enough ?

vbabiy commented 10 years ago

@yml I think its good enough for now, we can make this better down the road.