Skip to content

Commit

Permalink
Iincrease delays for warp...
Browse files Browse the repository at this point in the history
  • Loading branch information
kanshi committed Sep 23, 2024
1 parent 5f28a4f commit d8c8b1c
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/distribution/distribution.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ export class DistributionService {
if (this.operator != undefined) {
if (this.isLive === 'true') {
try {
await setTimeout(10000)
await setTimeout(15000)
const response = await this.distributionContract
.writeInteraction<AddScores>({
function: 'addScores',
Expand Down Expand Up @@ -286,7 +286,7 @@ export class DistributionService {
}

try {
await setTimeout(10000)
await setTimeout(15000)
const response = await this.distributionContract
.writeInteraction<Distribute>({
function: 'distribute',
Expand Down Expand Up @@ -576,7 +576,7 @@ export class DistributionService {
)

for (const familyBatch of familyBatches) {
await setTimeout(10000)
await setTimeout(15000)
this.logger.debug(
`Starting to set relay families for ${familyBatch.length} relays`,
)
Expand Down Expand Up @@ -655,7 +655,7 @@ export class DistributionService {
)

for (const batch of batches) {
await setTimeout(10000)
await setTimeout(15000)
this.logger.debug(
`Starting to set hardware bonus relays for ${batch.length} relays [${batch}]`
)
Expand Down Expand Up @@ -705,7 +705,7 @@ export class DistributionService {
this.logger.log(
`Sleeping before writing relay uptimes to distribution contract`
)
await setTimeout(10000)
await setTimeout(15000)
const fingerprints = uptimes.map(r => r.fingerprint)
this.logger.log(
`Setting uptimes for ${uptimes.length} relays [${fingerprints}]`
Expand Down

0 comments on commit d8c8b1c

Please sign in to comment.