Mercurial > templog
diff web/log.py @ 258:03e540c3ec24
fix server side long polling
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Tue, 09 Jun 2015 23:29:11 +0800 |
parents | 0a1b642e3086 |
children | 6c14e0573f50 |
line wrap: on
line diff
--- a/web/log.py Tue Jun 09 21:22:10 2015 +0800 +++ b/web/log.py Tue Jun 09 23:29:11 2015 +0800 @@ -247,8 +247,8 @@ tick_secs = int(entries['tick_secs']) return val_ticks + float(val_rem) * tick_secs / tick_wake -def write_current_params(current_params): - fridge_settings.update(current_params) +def write_current_params(current_params, current_epoch): + fridge_settings.update(current_params, current_epoch) def read_current_params(): params, epochtag = fridge_settings.get()