Skip to content

Commit

Permalink
changed ttl
Browse files Browse the repository at this point in the history
  • Loading branch information
nikhil2128 committed Oct 7, 2023
1 parent fddc977 commit 534d1e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion backend/app.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import { createClient } from "redis";
import { json } from "body-parser";

const DEFAULT_BALANCE = 100;
const LOCK_TTL = 5;
const LOCK_TTL = 1;

interface ChargeResult {
isAuthorized: boolean;
Expand Down

0 comments on commit 534d1e1

Please sign in to comment.