Skip to content

Commit

Permalink
Fix bug expire time
Browse files Browse the repository at this point in the history
  • Loading branch information
dev-ir committed Aug 12, 2024
1 parent f992ce2 commit 7371fe3
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions core/day_size.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,6 @@ def dvhost_update_expiry_time(days):
if expiry_time > 0:
new_expiry_time = expiry_time + additional_time_millis
cursor.execute("UPDATE client_traffics SET expiry_time = ? WHERE id = ?", (new_expiry_time, client_id))
if total > 0:
new_total = total + (10 * 1024 * 1024 * 1024)
cursor.execute("UPDATE client_traffics SET total = ? WHERE id = ?", (new_total, client_id))

cursor.execute("SELECT id, settings FROM inbounds")
inbounds = cursor.fetchall()

Expand Down

0 comments on commit 7371fe3

Please sign in to comment.