Skip to content

Commit 3c1f966

Browse files
author
Iosif Peterfi
committed
v3.3.8
* Tries to use the locall ipfs, and fails softly to public ipfs gateway use * Waits extra 120 seconds for trustedzone to finish * On every heartbeat check ipfs only once
1 parent a3a0213 commit 3c1f966

File tree

3 files changed

+62
-203
lines changed

3 files changed

+62
-203
lines changed

node/.env

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=3.3.7
1+
VERSION=3.3.8
22
IPFS_HOST=ipfs.ethernity.cloud
33
IPFS_PORT=4000
44
IPFS_ID=QmRBc1eBt4hpJQUqHqn6eA8ixQPD3LFcUDsn6coKBQtia5

node/etny-node.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,7 @@ def process_order(self, order_id, metadata=None):
738738

739739
# First wait
740740
start_wait = time.time()
741-
status_enclave = self.wait_for_enclave_v2(bucket_name, 'result.txt', do_req.duration * 3600)
741+
status_enclave = self.wait_for_enclave_v2(bucket_name, 'result.txt', do_req.duration * 3600 + 120)
742742
elapsed_wait1 = time.time() - start_wait
743743

744744
# Second wait
@@ -1142,7 +1142,7 @@ def process_dp_request(self):
11421142
try:
11431143
self.__call_heart_beat()
11441144

1145-
self.storage.connect()
1145+
self.storage.connect(1)
11461146

11471147
if get_task_running_on():
11481148
continue

0 commit comments

Comments
 (0)