Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1a1beafceb120ffb1f16201abb95424e0875fa82
      
https://github.com/OpenSIPS/opensips/commit/1a1beafceb120ffb1f16201abb95424e0875fa82
  Author: Bogdan-Andrei Iancu <[email protected]>
  Date:   2026-06-23 (Tue, 23 Jun 2026)

  Changed paths:
    M cfg_reload.c
    M cfg_reload.h
    M net/net_tcp.c
    M net/net_udp.c
    M timer.c

  Log Message:
  -----------
  [auto-scaler] new procs to self update with latest reload cfg

As the attendant is the one forking all new procs (while doing auto-scaling), 
these new procs will inherite the cfg from attendant - but this proc is not 
updated with reloaded cfg (has no IPC, scripting support, etc). So all new 
auto-scaled procs will start with the original cfg. To fix this, when new 
auto-scaled procs are started, we run a self-upate - check if there was any 
successful script reload and if so, do a local cfg reload before start 
processing anything else.
Fixes #3947
Reported by @gcuppers

(cherry picked from commit bee7bf435853d04a1b81c8016f8aeae39edfe0a8)



To unsubscribe from these emails, change your notification settings at 
https://github.com/OpenSIPS/opensips/settings/notifications

_______________________________________________
Devel mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/devel

Reply via email to