Skip to content

Commit

Permalink
Set the lock timeout to 5s
Browse files Browse the repository at this point in the history
  • Loading branch information
kespinola committed Oct 23, 2024
1 parent d7cc058 commit 17d7e0a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion program_transformers/src/token_metadata/v1_asset.rs
Original file line number Diff line number Diff line change
Expand Up @@ -236,7 +236,7 @@ pub async fn save_v1_asset<T: ConnectionTrait + TransactionTrait>(
};
let txn = conn.begin().await?;

let set_lock_timeout = "SET LOCAL lock_timeout = '1ms';";
let set_lock_timeout = "SET LOCAL lock_timeout = '5s';";
let set_local_app_name =
"SET LOCAL application_name = 'das::program_transformers::token_metadata::v1_asset';";
let set_lock_timeout_stmt =
Expand Down

0 comments on commit 17d7e0a

Please sign in to comment.