summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorVladimir Kobal <vlad@prokk.net>2020-04-06 09:28:58 +0300
committerGitHub <noreply@github.com>2020-04-06 09:28:58 +0300
commit5e766c5ae16bcddd15e5656ac759784af03d9fdf (patch)
tree037efc5d5a13caf4f2d658c049c95e3cabeafb12
parentebbce7c7773a886d222dbaa60d098b6c25150f69 (diff)
Remove an automatic restart of the apps.plugin (#8592)
-rw-r--r--collectors/apps.plugin/apps_plugin.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/collectors/apps.plugin/apps_plugin.c b/collectors/apps.plugin/apps_plugin.c
index 5f40270132..31a241c169 100644
--- a/collectors/apps.plugin/apps_plugin.c
+++ b/collectors/apps.plugin/apps_plugin.c
@@ -4110,8 +4110,6 @@ int main(int argc, char **argv) {
procfile_adaptive_initial_allocation = 1;
- time_t started_t = now_monotonic_sec();
-
get_system_HZ();
#ifdef __FreeBSD__
time_factor = 1000000ULL / RATES_DETAIL; // FreeBSD uses usecs
@@ -4212,8 +4210,5 @@ int main(int argc, char **argv) {
show_guest_time_old = show_guest_time;
debug_log("done Loop No %zu", global_iterations_counter);
-
- // restart check (14400 seconds)
- if(now_monotonic_sec() - started_t > 14400) exit(0);
}
}