Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove disabled function, optimize and use time() only once #1738

Merged
merged 3 commits into from
Jun 8, 2024

Conversation

pipiche38
Copy link
Collaborator

@pipiche38 pipiche38 commented May 20, 2024

  • Remove commented line
  • Avoid using calling time.time() several time in the same loop. As we don't need a granularity of ms, this should be ok.
  • When a device is not seen since 6 hours, set the device to timedout
  • Allow to overwrite the default 6 hours timedout on a device basis with device param "Device_TimeOut"

pipiche38 added 3 commits May 20, 2024 20:16
…o overwrite the 6 hours device timeout with a device param Device_TimeOut
@pipiche38 pipiche38 self-assigned this May 20, 2024
@pipiche38 pipiche38 changed the base branch from stable7 to wip-stable7-7.1.13 May 23, 2024 17:35
@pipiche38 pipiche38 marked this pull request as ready for review June 8, 2024 09:58
@pipiche38 pipiche38 merged commit 1650c9b into wip-stable7-7.1.13 Jun 8, 2024
4 checks passed
@pipiche38 pipiche38 deleted the device_timeout_overwrite branch June 17, 2024 17:00
@pipiche38 pipiche38 restored the device_timeout_overwrite branch June 21, 2024 10:17
@pipiche38 pipiche38 deleted the device_timeout_overwrite branch June 21, 2024 10:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant