30 lines
800 B
Go
30 lines
800 B
Go
package constants
|
|
|
|
import "time"
|
|
|
|
const (
|
|
WorkerCount = 4
|
|
RefreshDelay = 3 * time.Second
|
|
|
|
HTTPUserAgent = "Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/138.0.0.0 Safari/537.36"
|
|
REFERRER = "https://www.flomarching.com"
|
|
LocalOutputDirPath = "./data/"
|
|
|
|
EnableNASTransfer = true
|
|
NASOutputPath = "\\\\HomeLabNAS\\dci\\streams"
|
|
NASUsername = ""
|
|
NASPassword = ""
|
|
TransferWorkerCount = 2
|
|
TransferRetryLimit = 3
|
|
TransferTimeout = 30 * time.Second
|
|
FileSettlingDelay = 5 * time.Second
|
|
PersistencePath = "./data/transfer_queue.json"
|
|
TransferQueueSize = 1000
|
|
BatchSize = 10
|
|
ManifestPath = "./data"
|
|
|
|
CleanupAfterTransfer = true
|
|
CleanupBatchSize = 10
|
|
RetainLocalHours = 0
|
|
)
|