do not try to set commit_delay

This commit is contained in:
GroovieGermanikus 2024-06-26 08:38:38 +02:00
parent 944bf7ea54
commit 7e121e9606
No known key found for this signature in database
GPG Key ID: 5B6EB831A5CD2015
1 changed files with 2 additions and 5 deletions

View File

@ -199,11 +199,8 @@ impl PostgresSession {
.execute("SET synchronous_commit TO 'off'", &[])
.await
.unwrap();
self.client
.execute("SET commit_delay TO 1000", &[])
.await
.unwrap();
info!("Configured synchronous_commit and commit_delay");
// note: commit_delay can be changed but requires superuser
info!("Configured synchronous_commit");
}
pub async fn drop_temp_table(&self, table: String) -> anyhow::Result<()> {