34 lines
910 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 = "NASAdmin"
NASPassword = "s3tkY6tzA&KN6M"
TransferWorkerCount = 2
TransferRetryLimit = 3
TransferTimeout = 30 * time.Second
FileSettlingDelay = 5 * time.Second
PersistencePath = "../data/transfer_queue.json"
TransferQueueSize = 100000
BatchSize = 1000
ManifestPath = "../data"
CleanupAfterTransfer = true
CleanupBatchSize = 1000
RetainLocalHours = 0
AutoProcess = true
ProcessingEnabled = true
ProcessWorkerCount = 2
)