Closed ch3njust1n closed 6 years ago
ok
was set to False in ps.__synchronize_parameters()
and the peer was notified that it had the best parameters, so it retrieved its best parameters. But then was setting ok=ok and self.cache.set(sess_id, ujson.dumps(sess))
, but was short-circuiting because in if-block to retrieve best, wasn't setting ok
to True
. Stupid ok
expressions need to go. Second time this has caused unexpected errors.