]> gitweb.factorcode.org Git - factor.git/commitdiff
channels.remote: 128 random-bits should be enough.
authorJohn Benediktsson <mrjbq7@gmail.com>
Thu, 26 Jan 2023 17:38:12 +0000 (09:38 -0800)
committerJohn Benediktsson <mrjbq7@gmail.com>
Thu, 26 Jan 2023 17:38:12 +0000 (09:38 -0800)
basis/channels/remote/remote.factor

index 09ae88e557b188ba77b4a06201d571012de39c8a..686fc5b6ce3d027b0d4ff0b0fda8e75d3a42490f 100644 (file)
@@ -14,7 +14,7 @@ IN: channels.remote
 PRIVATE>
 
 : publish ( channel -- id )
-    256 random-bits dup [ remote-channels set-at ] dip ;
+    128 random-bits dup [ remote-channels set-at ] dip ;
 
 : get-channel ( id -- channel )
     remote-channels at ;