Skip to content

Commit

Permalink
modification for issue #25
Browse files Browse the repository at this point in the history
  • Loading branch information
gmuth committed Jun 4, 2024
1 parent d8eb036 commit 7447eb9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/main/kotlin/de/gmuth/ipp/client/IppSubscription.kt
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ class IppSubscription(
) {
fun expiresAfterDelay() = expiresAt != null && now().plus(pollEvery).isAfter(expiresAt!!.minusSeconds(2))
try {
updateAttributes()
pollHandlesNotifications = true
while (pollHandlesNotifications) {
if (expiryAvailable() && expired()) logger.warning { "Subscription #$id has expired" }
Expand Down

0 comments on commit 7447eb9

Please sign in to comment.