[OpenSIPS-Devel] [OpenSIPS/opensips] 1968b9: [core] improve accuracy and make configurable the ...

Bogdan Andrei IANCU noreply at github.com
Wed Aug 5 14:12:40 UTC 2026


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1968b9ded7d8aab0388cbc49df5d97e9dc9c7cc3
      https://github.com/OpenSIPS/opensips/commit/1968b9ded7d8aab0388cbc49df5d97e9dc9c7cc3
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2026-08-05 (Wed, 05 Aug 2026)

  Changed paths:
    M cfg.lex
    M cfg.y
    M docs/manual/Script-CoreParameters.md
    M io_wait.h
    M io_wait_loop.h
    M modules/event_kafka/kafka_producer.c
    M modules/event_stream/stream_send.c
    M modules/freeswitch/fs_proc.c
    M net/net_tcp_proc.c
    M net/net_udp.c
    A net/net_udp.c.orig
    M net/tcp_conn.h
    A net/tcp_conn.h.orig
    M reactor.c
    M reactor.h
    M reactor_defs.h
    M reactor_proc.h
    M timer.c
    M utils/vim/opensips.vim

  Log Message:
  -----------
  [core] improve accuracy and make configurable the reactor timeout

The timeout accuracy for the async script operations depends on the value of the I/O reactor timeout (how often the reactor can check for timeout events).
In order to cope with 1 second async timeout, we need a much lower reactor timeout -> the reactor timeout was moved from seconds to miliseconds
Also this reactor timeout can not be configurable via script param, see the new `worker_reactor_timeout` core parameter. This takes values between 100 and 1000 ms.



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



More information about the Devel mailing list