Skip to content

Commit 10d91b6

Browse files
committed
Checking a hundred cards against a server will take 5 minutes, so don't do it.
1 parent 6401f0a commit 10d91b6

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/ACNodeClient.ino

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -264,10 +264,10 @@ void setup() {
264264

265265
wdog.feed();
266266

267-
if (network) {
268-
// verify the users in the cache against the acserver
269-
cache->verify();
270-
}
267+
// For now, just purge the cache. Checking a card against the server at startup
268+
// takes ~3s per card. TODO: Add code to check against the server when card is
269+
// scanned and TTL is deemed to be expired.
270+
cache->purge();
271271

272272
wdog.feed();
273273

0 commit comments

Comments
 (0)