github.com/decred/dcrlnd@v0.7.6/lntest/timeouts_darwin.go (about) 1 //go:build darwin && !kvdb_etcd && !kvdb_postgres 2 // +build darwin,!kvdb_etcd,!kvdb_postgres 3 4 package lntest 5 6 import "time" 7 8 const ( 9 // MinerMempoolTimeout is the max time we will wait for a transaction 10 // to propagate to the mining node's mempool. 11 MinerMempoolTimeout = time.Minute 12 13 // ChannelOpenTimeout is the max time we will wait before a channel to 14 // be considered opened. 15 ChannelOpenTimeout = time.Second * 30 16 17 // ChannelCloseTimeout is the max time we will wait before a channel is 18 // considered closed. 19 ChannelCloseTimeout = time.Second * 30 20 21 // DefaultTimeout is a timeout that will be used for various wait 22 // scenarios where no custom timeout value is defined. 23 DefaultTimeout = time.Second * 30 24 25 // AsyncBenchmarkTimeout is the timeout used when running the async 26 // payments benchmark. This timeout takes considerably longer on darwin 27 // after go1.12 corrected its use of fsync. 28 AsyncBenchmarkTimeout = time.Minute * 3 29 30 // NodeStartTimeout is the timeout value when waiting for a node to 31 // become fully started. 32 NodeStartTimeout = time.Second * 120 33 )