Skip to content

Commit 96f0636

Browse files
committed
compare
1 parent 8e75e8a commit 96f0636

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

.github/workflows/pull-db-tests.yml

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -160,13 +160,7 @@ jobs:
160160
ALLOW_EMPTY_PASSWORD: true
161161
MYSQL_DATABASE: testgitea
162162
# https://dev.mysql.com/doc/refman/8.0/en/optimizing-innodb-diskio.html
163-
MYSQL_EXTRA_FLAGS: >
164-
--disable-log-bin
165-
--innodb-buffer-pool-size=2G
166-
--innodb-doublewrite=off
167-
--innodb-flush-log-at-trx-commit=0
168-
--innodb-flush-method=nosync
169-
--innodb-fsync-threshold=100000
163+
MYSQL_EXTRA_FLAGS: --disable-log-bin --innodb-buffer-pool-size=2G --innodb-adaptive-flushing=OFF --innodb-log-buffer-size=128M --innodb-flush-log-at-trx-commit=0 --innodb-flush-log-at-timeout=10 --innodb-flush-method=nosync --innodb-fsync-threshold=1000000
170164
ports:
171165
- "3306:3306"
172166
elasticsearch:

modules/queue/workergroup.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ var (
2323
)
2424

2525
func init() {
26-
unhandledItemRequeueDuration.Store(int64(5 * time.Second))
26+
unhandledItemRequeueDuration.Store(int64(time.Second))
2727
}
2828

2929
// workerGroup is a group of workers to work with a WorkerPoolQueue

0 commit comments

Comments
 (0)