Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf484f0b

Browse files
knizhnikkelvich
authored andcommitted
Use repeatable read isolation level
1 parentcb202c8 commitf484f0b

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

‎tests2/docker-entrypoint.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -73,8 +73,7 @@ if [ "$1" = 'postgres' ]; then
7373
max_replication_slots = 10
7474
max_wal_senders = 10
7575
shared_preload_libraries = 'raftable,multimaster'
76-
log_checkpoints = on
77-
log_autovacuum_min_duration = 0
76+
default_transaction_isolation = 'repeatable read'
7877
7978
raftable.id =$NODE_ID
8079
raftable.peers = '$RAFT_PEERS'

‎tests2/lib/event_history.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
from __future__importprint_function
12
importtime
23
importdatetime
34
importuuid
@@ -96,7 +97,7 @@ def aggregate(self):
9697
ifnamed_agg['running_latency']<latency:
9798
named_agg['running_latency']=latency
9899

99-
self.last_aggregation=datetime.datetime.now()
100+
#self.last_aggregation =last_aggregation
100101
#print("aggregeted!")
101102
returnagg
102103

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp