diff options
author | David Barksdale <amatus@amatus.name> | 2015-03-01 17:21:06 -0600 |
---|---|---|
committer | David Barksdale <amatus@amatus.name> | 2015-03-01 17:21:06 -0600 |
commit | a46b0ef3f33df59546123023ffb244d07427399d (patch) | |
tree | 5a7e33d9e822adfdc686dd551a9b4dc5176c1c93 /src/cljs/gnunet_web/transport.cljs | |
parent | d5c13428ce2823f379d217f8496ce5f1e1fa5df8 (diff) |
Don't let out peer map grow without bound
Diffstat (limited to 'src/cljs/gnunet_web/transport.cljs')
-rw-r--r-- | src/cljs/gnunet_web/transport.cljs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/cljs/gnunet_web/transport.cljs b/src/cljs/gnunet_web/transport.cljs index 471df8e..61d1740 100644 --- a/src/cljs/gnunet_web/transport.cljs +++ b/src/cljs/gnunet_web/transport.cljs @@ -37,6 +37,9 @@ 9 "Disconnecting" 10 "Disconnect finished"}) +(def state-connected 5) +(def state-disconnected 10) + (defn state->string [state] (get state-strings state)) |