-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
change the redis limit tracker to annual
- Loading branch information
Kenneth Kehl
committed
Jan 23, 2025
1 parent
3002dbf
commit 2d2a54b
Showing
3 changed files
with
41 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
""" | ||
Revision ID: 0414_change_total_message_limit | ||
Revises: 413_add_message_id | ||
Create Date: 2025-01-23 11:35:22.873930 | ||
""" | ||
|
||
import sqlalchemy as sa | ||
from alembic import op | ||
|
||
down_revision = "0413_add_message_id" | ||
revision = "0414_change_total_message_limit" | ||
|
||
|
||
def upgrade(): | ||
""" | ||
This limit is only used | ||
""" | ||
op.execute("UPDATE services set total_message_limit=100000") | ||
|
||
|
||
|
||
def downgrade(): | ||
op.execute("UPDATE services set total_message_limit=250000") |