Skip to content

Commit

Permalink
minor tweek
Browse files Browse the repository at this point in the history
  • Loading branch information
C-NERD committed Sep 17, 2022
1 parent e433b22 commit 9193387
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/clown_limiter/tracker.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type

var
write_lock : Lock
tracker : Table[string, tuple[calls, lastcalled : int]] ## to store ip address and number of calls made by address
tracker {.guard : write_lock.} : Table[string, tuple[calls, lastcalled : int]] ## to store ip address and number of calls made by address
tracker_addr = addr(tracker)

initLock(write_lock)
Expand Down

0 comments on commit 9193387

Please sign in to comment.