Quoting from the current docs: ``OPENWISP_SSH_COMMAND_TIMEOUT`` ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+--------------+-------------+ | **type**: | ``int`` | +--------------+-------------+ | **default**: | ``30`` | +--------------+-------------+ | **unit**: | ``seconds`` | +--------------+-------------+ Configure timeout on blocking read/write operations when executing a command in a SSH connection. Once changing this value you need to restart all the openwisp processes, (if you deploy with ansible-openwisp2, with: supervisorctl restart all). Best regards *Federico Capoano* OpenWISP OÜ Harjumaa, Tallinn, Sepapaja tn 6, 15551 VAT: EE101989729 *openwisp.io* <http://openwisp.io> On Thu, 18 Jan 2024 at 07:57, Manukumar NM <manuku...@relysys.co.in> wrote: > If I increase this time out, will it work properly and it is in > millisecond ?? > SSH_COMMAND_TIMEOUT = getattr(settings, 'OPENWISP_SSH_COMMAND_TIMEOUT', 30 > ) > > @shared_task(soft_time_limit=app_settings.SSH_COMMAND_TIMEOUT * 1.2) > > On Thu, Jan 18, 2024 at 3:16 PM Manukumar NM <manuku...@relysys.co.in> > wrote: > >> Hii team... >> whenever I execute the REBOOT >> command form the openwisp2, I will get the message like* "timeout" *but >> in the background it's executed with soft reboot. Still why am I getting >> Task time limit exceeded, is there any setting can we increase the >> background duration/time to execute this command? >> >> [image: image.png] >> Thanks in advance. >> >> -- > You received this message because you are subscribed to the Google Groups > "OpenWISP" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to openwisp+unsubscr...@googlegroups.com. > To view this discussion on the web, visit > https://groups.google.com/d/msgid/openwisp/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com > <https://groups.google.com/d/msgid/openwisp/CAG6AGHds2pzCWrRaW8dpb646ETN%3DiSUj-NNjr1VPE0ep%2B_brAA%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > -- You received this message because you are subscribed to the Google Groups "OpenWISP" group. To unsubscribe from this group and stop receiving emails from it, send an email to openwisp+unsubscr...@googlegroups.com. To view this discussion on the web, visit https://groups.google.com/d/msgid/openwisp/CAAGgX6L6goZDKi_ApKbSkAp2fD%2BvtcvQ8%2BZ%3DzTW3y%2B-dxeJY5A%40mail.gmail.com.