We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent acc4785 commit d976526Copy full SHA for d976526
src/lib/db/client-instance-store.ts
@@ -62,7 +62,7 @@ export default class ClientInstanceStore implements IClientInstanceStore {
62
63
async removeInstancesOlderThanTwoDays(): Promise<void> {
64
const rows = await this.db(TABLE)
65
- .whereRaw("created_at < now() - interval '2 days'")
+ .whereRaw("last_seen < now() - interval '2 days'")
66
.del();
67
68
if (rows > 0) {
0 commit comments