Sha256: 312aaced7bdb18a5fcbcaf340edcbd58b162c8ea0495bebc4245a00da2a59523
Contents?: true
Size: 829 Bytes
Versions: 2
Compression:
Stored size: 829 Bytes
Contents
module Swarmclient module Constants ## # Randomly generated uuid, will add validation if not initialize in the future. DEFAULT_UUID = '8c073d96-7291-11e8-adc0-fa7ae01bbebc' ## # Points default ip to localhost. DEFAULT_IP = '127.0.0.1' ## # Points to default swarmDB port # For more details: https://github.com/bluzelle/swarmDB DEFAULT_PORT = 51010 ## # Set limit in seconds per socket before raising a Timeout Error CONNECTION_TIMEOUT_LIMIT = 3 ## # Temporary redirect attempt limit. # Track discussion on: https://gitter.im/bluzelle/opensource MAX_REDIRECT_ATTEMPT = 3 ## # Not yet confirmed the randomness of db_msg.header.transaction_id # https://github.com/wlwanpan/swarmclient-rb/issues/4 TRANSATION_ID_UPPER_LIMIT = 1000 end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
swarmclient-0.1.5 | lib/swarmclient/constants.rb |
swarmclient-0.1.4 | lib/swarmclient/constants.rb |