Skip to content

Commit

Permalink
add retries for pinata
Browse files Browse the repository at this point in the history
  • Loading branch information
ElessarST committed Mar 1, 2024
1 parent 630aca7 commit a7ab706
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pinata-proxy/src/pinata.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export class PinataService {
'PINATA_SECRET_API_KEY',
);
this.limiter = new RateLimiter({
tokensPerInterval: 150,
tokensPerInterval: 75,
interval: 'minute',
});
this.pinata = new PinataClient(apiKey, secretKey);
Expand Down

0 comments on commit a7ab706

Please sign in to comment.