Module: Swarmclient::Constants
- Included in:
- Communication, Connection, ProtoSerializer
- Defined in:
- lib/swarmclient/constants.rb
Constant Summary collapse
- DEFAULT_UUID =
Randomly generated uuid, will add validation if not initialize in the future.
'8c073d96-7291-11e8-adc0-fa7ae01bbebc'- DEFAULT_IP =
Points default ip to localhost.
'127.0.0.1'- DEFAULT_PORT =
Points to default swarmDB port For more details: github.com/bluzelle/swarmDB
51010- CONNECTION_TIMEOUT_LIMIT =
Set limit in seconds per socket before raising a Timeout Error
3- MAX_REDIRECT_ATTEMPT =
Temporary redirect attempt limit. Track discussion on: gitter.im/bluzelle/opensource
3- TRANSATION_ID_UPPER_LIMIT =
Not yet confirmed the randomness of db_msg.header.transaction_id github.com/wlwanpan/swarmclient-rb/issues/4
1000