gitea/models
zeripath 167e8f18da
Restore Graceful Restarting & Socket Activation (#7274)
* Prevent deadlock in indexer initialisation during graceful restart

* Move from gracehttp to our own service to add graceful ssh

* Add timeout for start of indexers and make hammer time configurable

* Fix issue with re-initialization in indexer during tests

* move the code to detect use of closed to graceful

* Handle logs gracefully - add a pid suffix just before restart

* Move to using a cond and a holder for indexers

* use time.Since

* Add some comments and attribution

* update modules.txt

* Use zero to disable timeout

* Move RestartProcess to its own file

* Add cleanup routine
2019-10-15 14:39:51 +01:00
..
fixtures Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
migrations 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
access_test.go
access.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
action_list.go
action_test.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
action.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
admin_test.go
admin.go
attachment_test.go
attachment.go
branches_test.go
branches.go
commit_status_test.go
commit_status.go
consistency.go
context.go
convert.go
error_oauth2.go
error.go
external_login_user.go fix bug on FindExternalUsersByProvider (#8504) 2019-10-14 08:22:46 +01:00
gpg_key_test.go
gpg_key.go
graph_test.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
graph.go Add pagination to commit graph page (#8360) 2019-10-14 22:38:35 +01:00
helper_directory.go
helper_environment.go
helper.go
issue_assignees_test.go
issue_assignees.go
issue_comment_list.go
issue_comment_test.go
issue_comment.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
issue_dependency_test.go
issue_dependency.go
issue_label_test.go
issue_label.go
issue_list_test.go
issue_list.go
issue_lock.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_milestone_test.go
issue_milestone.go
issue_reaction_test.go
issue_reaction.go
issue_stopwatch_test.go
issue_stopwatch.go
issue_test.go Move change issue title from models to issue service package (#8456) 2019-10-11 14:44:43 +08:00
issue_tracked_time_test.go
issue_tracked_time.go
issue_user_test.go
issue_user.go
issue_watch_test.go
issue_watch.go
issue_xref.go Rewrite reference processing code in preparation for opening/closing from comment references (#8261) 2019-10-13 23:29:10 +01:00
issue.go Enable Uploading/Removing Attachments When Editing an Issue/Comment (#8426) 2019-10-15 13:19:32 +01:00
lfs_lock.go
lfs.go
log.go
login_source.go
main_test.go
migrate.go
models_test.go
models.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
notification_test.go
notification.go
oauth2_application_test.go
oauth2_application.go
oauth2.go
org_team_test.go
org_team.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
org_test.go
org.go
pull_test.go
pull.go Move AddTestPullRequestTask to pull service package from models (#8324) 2019-10-15 04:28:40 +01:00
release.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
repo_activity.go
repo_branch.go
repo_collaboration_test.go
repo_collaboration.go Recalculate repository access only for specific user (#8481) 2019-10-15 01:55:21 +01:00
repo_indexer.go Restore Graceful Restarting & Socket Activation (#7274) 2019-10-15 14:39:51 +01:00
repo_issue.go
repo_list_test.go
repo_list.go
repo_mirror.go
repo_permission_test.go
repo_permission.go
repo_redirect_test.go
repo_redirect.go
repo_tag.go
repo_test.go
repo_unit.go
repo_watch_test.go
repo_watch.go
repo.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
review_test.go
review.go
ssh_key_test.go
ssh_key.go Fixes #8369: Create .ssh dir as necessary (#8486) 2019-10-13 17:35:19 +03:00
star_test.go
star.go
task.go Move migrating repository from frontend to backend (#6200) 2019-10-13 21:23:14 +08:00
test_fixtures.go
token_test.go
token.go
topic_test.go
topic.go
twofactor.go
u2f_test.go
u2f.go
unit_tests.go
unit.go
update_test.go
update.go
upload.go
user_follow_test.go
user_follow.go
user_heatmap_test.go
user_heatmap.go
user_mail_test.go
user_mail.go
user_openid_test.go
user_openid.go
user_test.go
user.go
userlist_test.go
userlist.go
webhook_dingtalk.go
webhook_discord.go
webhook_msteams.go
webhook_slack.go
webhook_telegram.go
webhook_test.go
webhook.go
wiki_test.go
wiki.go