Extend eBPF default shutdown (#15694)
thiagoftsm committed
Aug 2, 2023 at 05:55 UTC
61d61a44e5358466c4aaf1256fd79f84c723bafc
1 file changed
+2
-2
libnetdata/ebpf/ebpf.h
+2
-2
@@ -340,8 +340,8 @@ typedef struct ebpf_module {
340
} ebpf_module_t;
341
342
#define EBPF_DEFAULT_LIFETIME 300
343
-// This will be present until all functions are merged
344
-#define EBPF_NON_FUNCTION_LIFE_TIME 86400
343
+// This will be present until all functions are merged. The deadline is planned for 68 years since plugin start
344
+#define EBPF_NON_FUNCTION_LIFE_TIME UINT_MAX
345
346
int ebpf_get_kernel_version();
347
int get_redhat_release();