From 60c5339042a605076482320313e8f9498dd72af9 Mon Sep 17 00:00:00 2001 From: zeripath Date: Sat, 30 Nov 2019 08:40:22 -0600 Subject: Graceful: Cancel Process on monitor pages & HammerTime (#9213) * Graceful: Create callbacks to with contexts * Graceful: Say when Gitea is completely finished * Graceful: Git and Process within HammerTime Force all git commands to terminate at HammerTime Force all process commands to terminate at HammerTime Move almost all git processes to run as git Commands * Graceful: Always Hammer after Shutdown * ProcessManager: Add cancel functionality * Fix tests * Make sure that process.Manager.Kill() cancels * Make threadsafe access to Processes and remove own unused Kill * Remove cmd from the process manager as it is no longer used * the default context is the correct context * get rid of double till --- options/locale/locale_en-US.ini | 3 +++ 1 file changed, 3 insertions(+) (limited to 'options') diff --git a/options/locale/locale_en-US.ini b/options/locale/locale_en-US.ini index be4522014f..ae93026bdd 100644 --- a/options/locale/locale_en-US.ini +++ b/options/locale/locale_en-US.ini @@ -1999,6 +1999,9 @@ monitor.process = Running Processes monitor.desc = Description monitor.start = Start Time monitor.execute_time = Execution Time +monitor.process.cancel = Cancel process +monitor.process.cancel_desc = Cancelling a process may cause data loss +monitor.process.cancel_notices = Cancel: %s? notices.system_notice_list = System Notices notices.view_detail_header = View Notice Details -- cgit v1.2.3