You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
forgejo/modules/queue
Lunny Xiao fcc8cdd446
Improve config logging when WrappedQueue times out (#11174)
Before
```sh
Unable to set the internal queue for -wrapper Error: Timedout creating queue redis with cfg []byte{0x7b, 0x22, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x65, 0x73, 0x22, 0x3a, 0x22, 0x31, 0x32, 0x37, 0x2e, 0x30, 0x2e, 0x30, 0x2e, 0x31, 0x3a, 0x36, 0x33, 0x37, 0x39, 0x22, 0x2c, 0x22, 0x42, 0x61, 0x74, 0x63, 0x68, 0x4c, 0x65, 0x6e, 0x67, 0x74, 0x68, 0x22, 0x3a, 0x32, 0x30, 0x2c, 0x22, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3a, 0x31, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x30, 0x2c, 0x22, 0x42, 0x6f, 0x6f, 0x73, 0x74, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x3a, 0x33, 0x30, 0x30, 0x30, 0x30, 0x30
......
```

After
```sh
Unable to set the internal queue for -wrapper Error: Timedout creating queue redis with cfg "{\"Addresses\":\"127.0.0.1:6379\",\"BatchLength\":20,\"BlockTimeout\":1000000000,\"BoostTimeout\":300000000000,\"BoostWorkers\":5,\"DBIndex\":0,\"DataDir\":\".../data/queues/mail\",\"MaxWorkers\":10,\"Name\":\"mail\",\"Network\":\"\",\"Password\":\"\",\"QueueLength\":20,\"QueueName\":\"mail_queue\",\"SetName\":\"\",\"Workers\":1}" in
```
4 years ago
..
bytefifo.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
helper.go Queue: Make WorkerPools and Queues flushable (#10001) 4 years ago
manager.go Fix broken FlushAll (#10101) 4 years ago
queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_bytefifo.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_channel_test.go Fix Workerpool deadlock (#10283) 4 years ago
queue_disk.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_disk_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_disk_channel_test.go Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
queue_disk_test.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
queue_redis.go Fix queue pop error and stat empty repository error (#10248) 4 years ago
queue_test.go Graceful Queues: Issue Indexing and Tasks (#9363) 5 years ago
queue_wrapped.go Improve config logging when WrappedQueue times out (#11174) 4 years ago
setting.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_disk.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_disk_channel.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
unique_queue_redis.go Fix queue pop error and stat empty repository error (#10248) 4 years ago
unique_queue_wrapped.go Add Unique Queue infrastructure and move TestPullRequests to this (#9856) 4 years ago
workerpool.go Fix Workerpool deadlock (#10283) 4 years ago