mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-22 17:26:54 +08:00
chore: use dify_config.TIDB_SPEND_LIMIT instead of constant value (#10038)
This commit is contained in:
@@ -37,7 +37,7 @@ class TidbService:
|
|||||||
}
|
}
|
||||||
|
|
||||||
spending_limit = {
|
spending_limit = {
|
||||||
"monthly": 100,
|
"monthly": dify_config.TIDB_SPEND_LIMIT,
|
||||||
}
|
}
|
||||||
password = str(uuid.uuid4()).replace("-", "")[:16]
|
password = str(uuid.uuid4()).replace("-", "")[:16]
|
||||||
display_name = str(uuid.uuid4()).replace("-", "")[:16]
|
display_name = str(uuid.uuid4()).replace("-", "")[:16]
|
||||||
|
|||||||
Reference in New Issue
Block a user