0
0
Fork 0
mirror of https://github.com/go-gitea/gitea synced 2024-12-26 01:14:43 +01:00
gitea/modules/log
zeripath 33a8eec33e
Retry rename on lock induced failures (#16435)
* Retry rename on lock induced failures

Due to external locking on Windows it is possible for an
os.Rename to fail if the files or directories are being
used elsewhere.

This PR simply suggests retrying the rename again similar
to how we handle the os.Remove problems.

Fix #16427

Signed-off-by: Andrew Thornton <art27@cantab.net>

* resolve CI fail

Co-authored-by: techknowlogick <techknowlogick@gitea.io>
2021-07-15 11:46:07 -04:00
..
colors.go
colors_router.go Fix various documentation, user-facing, and source comment typos (#16367) 2021-07-08 13:38:13 +02:00
conn.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
conn_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
console.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
console_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
console_windows.go
errors.go
event.go
file.go Retry rename on lock induced failures (#16435) 2021-07-15 11:46:07 -04:00
file_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
flags.go
level.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
level_test.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
log.go Update docs and comments to remove macaron (#14491) 2021-01-29 16:35:30 +01:00
log_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
logger.go
multichannel.go
provider.go
smtp.go Migrate to use jsoniter instead of encoding/json (#14841) 2021-03-01 22:08:10 +01:00
smtp_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00
stack.go
writer.go
writer_test.go Fixed assert statements. (#16089) 2021-06-07 07:27:09 +02:00