Fix removal of discovery results (#16232)

Signed-off-by: Jacob Laursen <jacob-github@vindvejr.dk>
This commit is contained in:
Jacob Laursen 2024-01-12 09:09:14 +01:00 committed by GitHub
parent 4a03fea490
commit 444d824a41
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,6 +84,6 @@ public class IndegoDiscoveryService extends AbstractThingHandlerDiscoveryService
@Override
public void dispose() {
super.dispose();
removeOlderResults(Instant.now().getEpochSecond());
removeOlderResults(Instant.now().toEpochMilli());
}
}