Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
shreemaan-abhishek committed Jun 26, 2024
1 parent e44c31d commit 20ff375
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion apisix/plugins/limit-count/delayed_syncer.lua
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,9 @@ local function sync_counter_data(premature, counter, to_be_synced, redis_confs,
if not ok then
core.log.error("failed to create redis syncer timer: ", err,
". New main redis syncer will be created.")
counter:set(consts.REDIS_SYNCER, false) -- next incoming request will pick this up and create a new timer

-- next incoming request will pick this up and create a new timer
counter:set(consts.REDIS_SYNCER, false)
end
end
end
Expand Down

0 comments on commit 20ff375

Please sign in to comment.