You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.rst
+11Lines changed: 11 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -71,6 +71,7 @@ UCI configuration options must go in ``/etc/config/openwisp``.
71
71
- ``key``: key required to download the configuration
72
72
- ``hardware_id_script``: custom script to read out a hardware id (e.g. a serial number), read more about this feature in `Hardware ID`_
73
73
- ``hardware_id_key``: whether to use the hardware id for key generation or not, defaults to ``1``
74
+
- ``bootup_delay``: maximum value in seconds of a random delay after bootup, defaults to ``0``, see `Bootup Delay`_
74
75
- ``unmanaged``: list of config sections which won't be overwritten, see `Unmanaged Configurations`_
75
76
- ``capath``: value passed to curl ``--capath`` argument, by default is empty; see also `curl capath argument <https://curl.haxx.se/docs/manpage.html#--capath>`_
76
77
- ``cacert``: value passed to curl ``--cacert`` argument, by default is empty; see also `curl cacert argument <https://curl.haxx.se/docs/manpage.html#--cacert>`_
@@ -166,6 +167,16 @@ generation then set ``hardware_id_key`` to ``0``.
166
167
167
168
For settings in ``django-netjsonconfig`` related to the hardware id, take a look at the `README <https://github.com/openwisp/django-netjsonconfig/#netjsonconfig-hardware-id-enabled>`_
168
169
170
+
Bootup Delay
171
+
------------
172
+
173
+
The option ``bootup_delay`` can be used to make the agent wait for a random amount of seconds after the bootup of
174
+
the device. Allowed random values range from 0 up to the value of ``bootup_delay``. The delay is applied only after the
175
+
device has been registered.
176
+
177
+
The random bootup delay reduces the load on the OpenWISP controller when a large amount of devices boot up at the
178
+
same time after a power failure, all trying to connect to the controller.
0 commit comments