Skip to content

Commit

Permalink
add org usage limit
Browse files Browse the repository at this point in the history
  • Loading branch information
lyang2821 committed Aug 22, 2024
1 parent 43bc80c commit 4f82de5
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lapdev-api/src/organization.rs
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ pub async fn create_organization(
auto_stop: ActiveValue::Set(Some(3600)),
allow_workspace_change_auto_stop: ActiveValue::Set(true),
last_auto_stop_check: ActiveValue::Set(None),
usage_limit: ActiveValue::Set(30 * 60 * 60),
}
.insert(&txn)
.await?;
Expand Down

0 comments on commit 4f82de5

Please sign in to comment.