This commit is contained in:
2025-05-24 07:24:17 +04:00
parent 5d241e9ade
commit e60b9f62f1
7 changed files with 454 additions and 366 deletions

View File

@@ -19,8 +19,8 @@ func main() {
// Customize configuration if needed
config.Redis.TCPPort = 6379
config.Redis.UnixSocketPath = "/tmp/redis.sock"
config.Jobs.OurDBPath = "./data/jobsdb"
config.Redis.UnixSocketPath = "" // Use TCP connection only
config.Jobs.OurDBPath = "/tmp/jobsdb"
config.Jobs.WorkerCount = 3
config.Jobs.QueuePollInterval = 200 * time.Millisecond