We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent edc5d92 commit 57a96efCopy full SHA for 57a96ef
1 file changed
src/stores/redis_store.cr
@@ -199,7 +199,7 @@ module Session
199
0_i64
200
end
201
202
- def clear
+ def clear : Nil
203
with_circuit_breaker do
204
Retry.with_retry_if(
205
->(ex : Exception) { Retry.retryable_connection_error?(ex) },
@@ -216,7 +216,6 @@ module Session
216
# Don't raise on clear failures
217
rescue ex : Exception
218
Log.warn { "Unexpected error while clearing sessions: #{ex.message}" }
219
- nil
220
221
222
# Health check method for monitoring
0 commit comments