Files
cgrates/utils
ionutboangiu 958aa267cf Refactor HTTP profiling and flag handling
- hardcode the base path for profiling endpoints to '/debug/pprof/'
- change profiling flag 'httprof_path' to boolean 'http_pprof'
  (because of the above)
- remove redundant profiling endpoint registrations (handled by pprof.Index)
- move profiling registration log after actual registration
- make profiling registration log more descriptive
- use utils.Logger instead of log.Print for the log mentioned above
- refactor flags test into a table test (adding also verification for default
  flag values)
- change 'scheduledShutdown' flag type from string to time.Duration (to avoid
  unnecessary time parsing)
- revise flags usage descriptions
- rename flag 'singlecpu' to 'singleCPU'
- switch to 'ExitOnError' for flag parsing to simplify error handling and
  automatically handle 'ErrHelp' by exiting with status 0 when help is
  requested and status 2 for other parsing errors. Before the following error
  log would have been received:
  '<InitS> error received: <flag: help requested>, exiting!'
- update cgr-engine documentation
2024-08-02 09:35:36 +02:00
..
2021-03-26 13:46:25 +01:00
2021-08-26 16:45:37 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2021-01-11 10:57:44 +01:00
2021-01-07 18:15:35 +01:00
2021-11-01 13:49:33 +02:00
2021-03-26 13:46:25 +01:00
2021-04-02 13:42:24 +02:00
2021-02-16 18:18:32 +01:00
2023-02-24 16:50:48 +01:00
2023-09-12 18:10:02 +02:00
2023-02-27 09:14:45 +01:00
2022-10-19 09:43:33 +02:00
2023-11-08 17:10:13 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2022-11-11 13:43:51 +01:00
2021-03-26 13:46:25 +01:00
2024-02-27 16:28:48 +01:00
2021-01-11 10:57:44 +01:00
2021-03-26 13:46:25 +01:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00
2023-05-31 10:23:12 +02:00