mirror of
1
Fork 0
forgejo/modules/setting
zeripath cbaa1de9ec Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964)
* Graceful Shutdown for windows and others

Restructures modules/graceful, adding shutdown for windows, removing and
replacing the old minwinsvc code.

Creates a new waitGroup - terminate which allows for goroutines to
finish up after the shutdown of the servers.

Shutdown and terminate hooks are added for goroutines.

* Remove unused functions - these can be added in a different PR

* Add startup timeout functionality

* Document STARTUP_TIMEOUT
2019-11-21 13:32:02 -05:00
..
cache.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cors.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
cron.go Update migrated repositories' issues/comments/prs poster id if user has a github external user saved (#7751) 2019-10-14 09:10:42 +03:00
database.go Expose db.SetMaxOpenConns and allow non MySQL dbs to set conn pool params (#8528) 2019-10-21 22:20:47 +01:00
database_sqlite.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
database_test.go Move database settings from models to setting (#7806) 2019-08-24 11:24:45 +02:00
git.go
indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
indexer_test.go Restrict repository indexing by glob match (#7767) 2019-09-11 20:26:28 +03:00
log.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
mailer.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
markup.go
migrations.go Add retry for migration http/https requests (#9019) 2019-11-16 16:30:06 +08:00
repository.go Configurable close and reopen keywords for PRs (#8120) 2019-10-30 14:43:59 +02:00
service.go Auto-subscribe user to repository when they commit/tag to it (#7657) 2019-11-10 09:22:19 +00:00
session.go Use gitea forked macaron (#7933) 2019-08-23 12:40:29 -04:00
setting.go Add Graceful shutdown for Windows and hooks for shutdown of goroutines (#8964) 2019-11-21 13:32:02 -05:00
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
webhook.go Webhook support custom proxy (#8760) 2019-11-08 16:25:53 -05:00