File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,8 @@ async def execute_gql_query(
153153 if results .count (item ) > majority :
154154 result = item
155155 majority = results .count (item )
156-
156+ else :
157+ diff = item
157158 if majority >= len (subgraph_urls ) // 2 + 1 :
158159 return result
159- raise GraphqlConsensusError
160+ raise GraphqlConsensusError ( f" { diff } not equals to { result } " )
Original file line number Diff line number Diff line change 2727CONFIRMATION_BLOCKS : int = config ("CONFIRMATION_BLOCKS" , default = 15 , cast = int )
2828
2929# oracle
30- ORACLE_PROCESS_INTERVAL = config ("ORACLE_PROCESS_INTERVAL" , default = 10 , cast = int )
30+ ORACLE_PROCESS_INTERVAL = config ("ORACLE_PROCESS_INTERVAL" , default = 15 , cast = int )
3131
3232IPFS_FETCH_ENDPOINTS = config (
3333 "IPFS_FETCH_ENDPOINTS" ,
5656)
5757
5858# keeper
59- KEEPER_PROCESS_INTERVAL = config ("KEEPER_PROCESS_INTERVAL" , default = 10 , cast = int )
59+ KEEPER_PROCESS_INTERVAL = config ("KEEPER_PROCESS_INTERVAL" , default = 60 , cast = int )
6060
6161TRANSACTION_TIMEOUT = config ("TRANSACTION_TIMEOUT" , default = 900 , cast = int )
6262
You can’t perform that action at this time.
0 commit comments