mirror of
https://github.com/alexgo-io/stacks-puppet-node.git
synced 2026-04-23 11:27:38 +08:00
crawl at a normal rate when in the public testnet
This commit is contained in:
@@ -98,7 +98,7 @@ if os.environ.get("BLOCKSTACK_ATLAS_MIN_PEER_HEALTH") is not None:
|
||||
if os.environ.get("BLOCKSTACK_ATLAS_NUM_NEIGHBORS") is not None:
|
||||
NUM_NEIGHBORS = int(os.environ.get("BLOCKSTACK_ATLAS_NUM_NEIGHBORS"))
|
||||
|
||||
if BLOCKSTACK_TEST:
|
||||
if BLOCKSTACK_TEST and not os.environ['BLOCKSTACK_PUBLIC_TESTNET']:
|
||||
PEER_CRAWL_NEIGHBOR_WORK_INTERVAL = 1
|
||||
PEER_HEALTH_NEIGHBOR_WORK_INTERVAL = 1
|
||||
PEER_CRAWL_ZONEFILE_WORK_INTERVAL = 1
|
||||
|
||||
@@ -28,6 +28,7 @@ TEST ENV BLOCKSTACK_EPOCH_3_END_BLOCK 684
|
||||
TEST ENV BLOCKSTACK_EPOCH_2_NAMESPACE_LIFETIME_MULTIPLIER 1
|
||||
TEST ENV BLOCKSTACK_EPOCH_3_NAMESPACE_LIFETIME_MULTIPLIER 1
|
||||
TEST ENV BLOCKSTACK_EPOCH_4_NAMESPACE_LIFETIME_MULTIPLIER 1
|
||||
TEST ENV BLOCKSTACK_PUBLIC_TESTNET 1
|
||||
"""
|
||||
|
||||
import testlib
|
||||
|
||||
Reference in New Issue
Block a user