Skip to content

Commit

Permalink
ticket-1413 SNB does multiple attempts to download S-Chain descriptions
Browse files Browse the repository at this point in the history
  • Loading branch information
sergiy-skalelabs committed Jan 24, 2023
1 parent 55bbca2 commit 47767b0
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions npms/skale-observer/observer_worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@ parentPort.on( "message", jo => {
return;
} );

const sleep = ( milliseconds ) => { return new Promise( resolve => setTimeout( resolve, milliseconds ) ); };

function doSendMessage( type, endpoint, worker_uuid, data ) {
const jo = network_layer.socket_received_data_reverse_marshall( data );
const joSend = {
Expand Down

0 comments on commit 47767b0

Please sign in to comment.