do not try to set commit_delay
This commit is contained in:
parent
944bf7ea54
commit
7e121e9606
|
@ -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<()> {
|
||||
|
|
Loading…
Reference in New Issue