Skip to content

Commit dd6f7be

Browse files
committed
add more timeout on CG stats
1 parent e454b20 commit dd6f7be

File tree

2 files changed

+18
-8
lines changed

2 files changed

+18
-8
lines changed

server/cron/coingeckoStats.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ const getPriceStats = async fiats => {
4747
nano: json.nano,
4848
});
4949

50-
await sleep(25_000);
50+
await sleep(35_000);
5151
}
5252
} catch (err) {
5353
console.log("Error", err);
@@ -90,7 +90,7 @@ const getMarketStats = async fiats => {
9090

9191
nodeCache.set(`${COINGECKO_MARKET_STATS}-${fiat}`, marketStats);
9292

93-
await sleep(20_000);
93+
await sleep(30_000);
9494
}
9595
} catch (err) {
9696
// rate limited
@@ -215,9 +215,9 @@ const getMarketCapStats = async () => {
215215

216216
// CoinGecko rate limit is 10 calls per seconds
217217
if (i && !(i % 10)) {
218-
await sleep(25_000);
218+
await sleep(35_000);
219219
} else {
220-
await sleep(process.env.NODE_ENV === "production" ? 15_000 : 150);
220+
await sleep(process.env.NODE_ENV === "production" ? 25_000 : 150);
221221
}
222222
}
223223

@@ -227,7 +227,7 @@ const getMarketCapStats = async () => {
227227
});
228228
} else {
229229
console.log(`Failed to get top ${top} cryptocurrencies`, cryptocurrencies);
230-
await sleep(10_000);
230+
await sleep(20_000);
231231

232232
getMarketCapStats();
233233
return;

src/pages/NanoBrowserQuest/Guide/guide.md

Lines changed: 13 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ Increases the players attack speed a certain % and makes the player do damage fa
174174

175175
| Weapon weights | attack bonus | attack speed | Description |
176176
| :------------- | :----------- | :----------- | :----------------------------------------------------------------------------------------------------------- |
177-
| light | -15% | +20% | light weapons such as daggers and hatchets |
177+
| light | -15% | +20% | light weapons such as daggers and hatchets |
178178
| normal | 0% | 0% | regular weapons such as swords |
179179
| heavy | +25% | -15% | some mauls and other big looking weapons |
180180
| Super heavy | +35% | -20% | huge looking weapons slow but high dmg weapons(the dmg is massiveif you can add yourself attack speed items) |
@@ -395,6 +395,16 @@ Some items can drop with a certain amount of sockets (Weapons, Armors, Shields a
395395
| ![{"name": "Gold Ring", "level": 1, "itemClass": "high", "bonus": [4,5,7], "requirement": 16}](https://nanobrowserquest.com/img/3/item-ringgold.png) | Gold Ring | ![{"name": "Unique Gold Ring", "level": 1, "itemClass": "high", "bonus": [2,5,6,8], "requirement": 16, "isUnique": true}](https://nanobrowserquest.com/img/3/item-ringgold.png) | Unique Gold Ring | Werewolf, Yeti, Skeleton Guard, Skeleton Commander, Undead Snake, Wraith, Zombie, Nercomancer, Cow |
396396
| ![{"name": "Platinum Ring", "level": 1, "itemClass": "legendary", "bonus": [5,6,8,18,23,24], "requirement": 46}](https://nanobrowserquest.com/img/3/item-ringplatinum.png) | Platinum Ring | ![{"name": "Unique Platinum Ring", "level": 1, "itemClass": "legendary", "bonus": [1,4,6,32,34], "requirement": 46, "isUnique": true}](https://nanobrowserquest.com/img/3/item-ringplatinum.png) | Unique Platinum Ring | Poison Rat, Oculothorax, Kobold, Golem, Damned Snake, Posion Snake, Templar Skeleton, Ghost, Skeleton Berserker, Spider, Spiderqueen, Skeleton Archer, Spectral Wraith, Mage |
397397

398+
# Special Event Items
399+
400+
- Halloween
401+
- Christmas
402+
403+
| Item | Name | Description |
404+
| :-------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | :---------- | :-------------------------------------- |
405+
| ![{"name": "S CVE-2023-40234", "level": 1, "itemClass": "high", "bonus": [0,3,4,11,42], "requirement": 42,"isUnique": true}](https://nanobrowserquest.com/img/3/item-helmpumkin.png) | helm Pumkin | Dropped dring the month of october 2023 |
406+
| ![{"name": "S CVE-2023-40234", "level": 1, "itemClass": "high", "bonus": [0,3,4,11,42], "requirement": 42,"isUnique": true}](https://nanobrowserquest.com/img/3/item-helmpumkin.png) | helm Pumkin | Dropped dring the month of october 2023 |
407+
398408
# Cape
399409

400410
Attributes: Defense (1) + one of the following attributes: % Attack/Defence/Experience/Extra gold from enemies when player is in a party. The second attribute is randomly decided when the items is bought/dropped
@@ -486,8 +496,8 @@ These items are used to upgrade the items found in NBQ. It is done by putting th
486496
| ![{"name": "Firefox Potion", "description": "Restores health to player by 40 hp" }](https://nanobrowserquest.com/img/3/item-firefoxpotion.png) | Firefox Potion | Restore player health to 100% and grands the player temporary immortality |
487497
| ![{"name": "Wirt's leg", "level": 1, "itemClass": "low", "damage": 2, "magicDamage": 1, "requirement": 1}](https://nanobrowserquest.com/img/3/item-wirtleg.png) | Wirt's Leg | A low-level weapon with a secret special ability. Opening the secret level with a unique Wirt's Leg guarantees a 100% drop rate of the Cow King's Horn item from the Cow King. |
488498
| ![{"name": "Skeleton King's Thoracic Cage", "description": "The thoracic cage of the Skeleton King. An unknown magic is still being emitted from the remains. Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter" }](https://nanobrowserquest.com/img/3/item-skeletonkingcage.png) | Skeleton King's Thoracic Cage | The thoracic cage of the Skeleton King. An unknown magic is still being emitted from the remains. Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter properties |
489-
| ![{"name": "NFT", "description": "An exceptional Non-Fungible Token artifact, return it to Alkor to get a reward." }](https://nanobrowserquest.com/img/3/item-nft.png) | NFT | An exceptional Non-Fungible Token artifact, return it to Alkor to get a reward. |
490-
| ![{"name": "Wing", "description": "The remnants of a dragon's wing., return it to Olaf to get a reward." }](https://nanobrowserquest.com/img/3/item-wing.png) | Wing | The remnants of a dragon's wing. |
499+
| ![{"name": "NFT", "description": "An exceptional Non-Fungible Token artifact, return it to Alkor to get a reward." }](https://nanobrowserquest.com/img/3/item-nft.png) | NFT | An exceptional Non-Fungible Token artifact, return it to Alkor to get a reward. Drops 1/150 from Golems. |
500+
| ![{"name": "Wing", "description": "The remnants of a dragon's wing., return it to Olaf to get a reward." }](https://nanobrowserquest.com/img/3/item-wing.png) | Wing | The remnants of a dragon's wing. Drops 1/150 from red snakes. |
491501
| ![{"name": "Crystal", "description": "An ancient and powerful crystal., return it to Viktor to get a reward." }](https://nanobrowserquest.com/img/3/item-crystal.png) | Crystal | An ancient and powerful crystal. |
492502
| ![{"name": "Skeleton King's Thoracic Cage", "description": "The thoracic cage of the Skeleton King. An unknown magic is still being emitted from the remains. Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter" }](https://nanobrowserquest.com/img/3/item-skeletonkingcage.png) | Skeleton King's Thoracic Cage | The thoracic cage of the Skeleton King. An unknown magic is still being emitted from the remains. Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter properties |
493503
| ![{"name": "Necromancer's Heart", "description": "The heart of the Necromancer. An unknown magic is still being emitted from the remains. . Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter" }](https://nanobrowserquest.com/img/3/item-necromancerheart.png) | Necromancer's Heart | The heart of the Necromancer. An unknown magic is still being emitted from the remains. . Combined with other ingredients at the anvil, it will open a secret area, lv.45 required to enter |

0 commit comments

Comments
 (0)