[Fusioninventory-commit] [fusioninventory/fusioninventory-agent] 891ce4: fix: Don't use delaytime on config reload

Guillaume Bougard noreply at github.com
Tue Nov 19 13:25:24 GMT 2019


  Branch: refs/heads/develop
  Home:   https://github.com/fusioninventory/fusioninventory-agent
  Commit: 891ce400fc9dc3a53540a990272434330212d601
      https://github.com/fusioninventory/fusioninventory-agent/commit/891ce400fc9dc3a53540a990272434330212d601
  Author: Guillaume Bougard <gbougard at teclib.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M lib/FusionInventory/Agent/Config.pm
    M lib/FusionInventory/Agent/Target.pm

  Log Message:
  -----------
  fix: Don't use delaytime on config reload


  Commit: 69b18fa4de2567f0d832e032a3a3300c3733256f
      https://github.com/fusioninventory/fusioninventory-agent/commit/69b18fa4de2567f0d832e032a3a3300c3733256f
  Author: Guillaume Bougard <gbougard at teclib.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M lib/FusionInventory/Agent/Config.pm
    M lib/FusionInventory/Agent/Target/Local.pm
    M lib/FusionInventory/Agent/Target/Scheduler.pm
    M lib/FusionInventory/Agent/Target/Server.pm

  Log Message:
  -----------
  fix: use target counters reset to better support config reload


  Commit: ebdd8a2720c41ae63b29de02ff8e4351c1367d68
      https://github.com/fusioninventory/fusioninventory-agent/commit/ebdd8a2720c41ae63b29de02ff8e4351c1367d68
  Author: Guillaume Bougard <gbougard at teclib.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M lib/FusionInventory/Agent/Target.pm

  Log Message:
  -----------
  feat: limit next run delay reduc

Limit next run random delay reduction to max 1/6 of the delay if less then 6 hours,
limit to max an hour for delay from 6 hours to 24 hours,
and limit to max 1/24 of the delay for delay greater than a day.

This would keep enough delay randomization to avoid mass agent server connection and
keep next seen run more coherent with the requested delay.


  Commit: 57777975a3aa521e47dcd5fa64c8199fcac0a54f
      https://github.com/fusioninventory/fusioninventory-agent/commit/57777975a3aa521e47dcd5fa64c8199fcac0a54f
  Author: Guillaume Bougard <gbougard at teclib.com>
  Date:   2019-11-18 (Mon, 18 Nov 2019)

  Changed paths:
    M lib/FusionInventory/Agent/HTTP/Server/Inventory.pm

  Log Message:
  -----------
  fix: Don't recreate Listener target on re-init


  Commit: 3466487c5de2f969bc5305c628f143e7417992ca
      https://github.com/fusioninventory/fusioninventory-agent/commit/3466487c5de2f969bc5305c628f143e7417992ca
  Author: Guillaume Bougard <gbougard at teclib.com>
  Date:   2019-11-19 (Tue, 19 Nov 2019)

  Changed paths:
    M lib/FusionInventory/Agent/Config.pm
    M lib/FusionInventory/Agent/HTTP/Server/Inventory.pm
    M lib/FusionInventory/Agent/Target.pm
    M lib/FusionInventory/Agent/Target/Local.pm
    M lib/FusionInventory/Agent/Target/Scheduler.pm
    M lib/FusionInventory/Agent/Target/Server.pm

  Log Message:
  -----------
  Merge pull request #746 from TECLIB/feature/fix-reinit-rescheduling

* fix: Don't use delaytime on config reload
* fix: use target counters reset to better support config reload
* feat: limit next run delay reduc

Limit next run random delay reduction to max 1/6 of the delay if less then 6 hours,
limit to max an hour for delay from 6 hours to 24 hours,
and limit to max 1/24 of the delay for delay greater than a day.

This would keep enough delay randomization to avoid mass agent server connection and
keep next seen run more coherent with the requested delay.

* fix: Don't recreate Listener target on re-init


Compare: https://github.com/fusioninventory/fusioninventory-agent/compare/c5d79f66ba1f...3466487c5de2



More information about the Fusioninventory-commit mailing list