Skip to content
Browse files

[fix] client_event: fixed inactivity delay computation

  • Loading branch information...
1 parent abb6c47 commit bf0b384dcb40aa3061758b6c431e94aba5f5c262 @Aqua-Ye Aqua-Ye committed
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/stdlib/core/rpc/core/client_event.opa
View
2 lib/stdlib/core/rpc/core/client_event.opa
@@ -298,7 +298,7 @@ ClientEvent = {{
| {none} ->
state = {
dis_delay = Reference.create(Reference.get(disconnect_delay))
- ina_delay = Reference.create(Reference.get(disconnect_delay))
+ ina_delay = Reference.create(Reference.get(inactive_delay) ? (-1))
callbacks = Hashtbl.create(5)
fresh = Reference.create(0)
dis_key = Reference.create({none})

0 comments on commit bf0b384

Please sign in to comment.
Something went wrong with that request. Please try again.