Last active
March 24, 2020 20:50
-
-
Save fragosti/663fb423744c1c463d79200a50984619 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
francescoagosti@0x:Projects/0x-api ‹feat/filter-expired-orders*›$ yarn dev | |
yarn run v1.13.0 | |
$ nodemon -r dotenv/config src/index.ts | pino-pretty | |
[nodemon] 1.19.4 | |
[nodemon] to restart at any time, enter `rs` | |
[nodemon] watching dir(s): src/**/* | |
[nodemon] watching extensions: ts,js,json,yaml,yml | |
[nodemon] starting `ts-node -r dotenv/config src/index.ts` | |
[1585082487404] INFO (58061 on 0x): OrderWatcherService starting up! | |
[1585082487404] INFO (58061 on 0x): OrderWatcherService syncing orderbook with Mesh | |
[1585082487408] INFO (58061 on 0x): API (HTTP) listening on port 3000! | |
[1585082488611] INFO (58061 on 0x): OrderWatcherService sync {"accepted":0,"rejected":0,"sent":0} | |
[1585082491014] INFO (58061 on 0x): OrderWatcherService sync complete | |
[1585082536343] WARN (58061 on 0x): Found 19 expiredOrders. How long ago they expired: [24.301000118255615,11.301000118255615,12.301000118255615,4.301000118255615,6.301000118255615,8.301000118255615,14.301000118255615,2.3010001182556152,6.301000118255615,19.301000118255615,25.301000118255615,3.3010001182556152,25.301000118255615,8.301000118255615,22.301000118255615,11.301000118255615,18.301000118255615,17.301000118255615,16.301000118255615] | |
[1585082536349] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 420 | |
[1585082544014] WARN (58061 on 0x): Found 14 expiredOrders. How long ago they expired: [18.999000072479248,19.999000072479248,2.999000072479248,11.999000072479248,13.999000072479248,15.999000072479248,21.999000072479248,9.999000072479248,13.999000072479248,2.999000072479248,10.999000072479248,15.999000072479248,18.999000072479248,23.999000072479248] | |
[1585082544015] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 274 | |
[1585082551781] WARN (58061 on 0x): Found 12 expiredOrders. How long ago they expired: [0.7750000953674316,4.775000095367432,3.7750000953674316,10.775000095367432,2.7750000953674316,3.7750000953674316,17.77500009536743,10.775000095367432,18.77500009536743,3.7750000953674316,3.7750000953674316,3.7750000953674316] | |
[1585082551782] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 269 | |
[1585082557839] WARN (58061 on 0x): Found 15 expiredOrders. How long ago they expired: [6.823999881744385,9.823999881744385,1.8239998817443848,0.8239998817443848,0.8239998817443848,8.823999881744385,4.823999881744385,9.823999881744385,4.823999881744385,3.8239998817443848,0.8239998817443848,9.823999881744385,1.8239998817443848,9.823999881744385,9.823999881744385] | |
[1585082557841] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 273 | |
[1585082563042] WARN (58061 on 0x): Found 20 expiredOrders. How long ago they expired: [3.0230000019073486,12.023000001907349,15.023000001907349,4.023000001907349,7.023000001907349,6.023000001907349,6.023000001907349,0.023000001907348633,14.023000001907349,10.023000001907349,15.023000001907349,10.023000001907349,5.023000001907349,9.023000001907349,6.023000001907349,15.023000001907349,7.023000001907349,15.023000001907349,15.023000001907349,1.0230000019073486] | |
[1585082563043] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 274 | |
[1585082576059] WARN (58061 on 0x): Found 8 expiredOrders. How long ago they expired: [7.053999900817871,5.053999900817871,5.053999900817871,8.053999900817871,6.053999900817871,4.053999900817871,0.053999900817871094,1.053999900817871] | |
[1585082576060] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 304, | |
"statusMessage": "Not Modified" | |
} | |
responseTime: 269 | |
[1585082591676] WARN (58061 on 0x): Found 25 expiredOrders. How long ago they expired: [1.6670000553131104,22.66700005531311,6.66700005531311,20.66700005531311,13.66700005531311,6.66700005531311,9.66700005531311,9.66700005531311,20.66700005531311,11.66700005531311,7.66700005531311,23.66700005531311,21.66700005531311,6.66700005531311,11.66700005531311,7.66700005531311,0.6670000553131104,19.66700005531311,9.66700005531311,9.66700005531311,15.66700005531311,11.66700005531311,16.66700005531311,6.66700005531311,2.6670000553131104] | |
[1585082591677] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 318 | |
[1585082600773] WARN (58061 on 0x): Found 5 expiredOrders. How long ago they expired: [2.7679998874664307,4.767999887466431,4.767999887466431,4.767999887466431,3.7679998874664307] | |
[1585082600774] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 258 | |
[1585082603208] WARN (58061 on 0x): Found 6 expiredOrders. How long ago they expired: [5.20199990272522,7.20199990272522,7.20199990272522,0.20199990272521973,7.20199990272522,6.20199990272522] | |
[1585082603210] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 227 | |
[1585082605649] WARN (58061 on 0x): Found 6 expiredOrders. How long ago they expired: [7.641999959945679,9.641999959945679,9.641999959945679,2.6419999599456787,9.641999959945679,8.641999959945679] | |
[1585082605650] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 245 | |
[1585082607696] WARN (58061 on 0x): Found 6 expiredOrders. How long ago they expired: [9.687000036239624,11.687000036239624,11.687000036239624,4.687000036239624,11.687000036239624,10.687000036239624] | |
[1585082607697] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 231 | |
[1585082609159] WARN (58061 on 0x): Found 8 expiredOrders. How long ago they expired: [11.151999950408936,13.151999950408936,0.15199995040893555,13.151999950408936,6.1519999504089355,13.151999950408936,1.1519999504089355,12.151999950408936] | |
[1585082609160] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 322 | |
[1585082631503] WARN (58061 on 0x): Found 33 expiredOrders. How long ago they expired: [33.496999979019165,35.496999979019165,22.496999979019165,16.496999979019165,14.496999979019165,35.496999979019165,19.496999979019165,28.496999979019165,35.496999979019165,1.496999979019165,16.496999979019165,23.496999979019165,5.496999979019165,14.496999979019165,34.496999979019165,2.496999979019165,4.496999979019165,17.496999979019165,16.496999979019165,16.496999979019165,13.496999979019165,17.496999979019165,17.496999979019165,17.496999979019165,17.496999979019165,17.496999979019165,16.496999979019165,12.496999979019165,9.496999979019165,8.496999979019165,8.496999979019165,3.496999979019165,1.496999979019165] | |
[1585082631504] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 250 | |
[1585082637126] WARN (58061 on 0x): Found 41 expiredOrders. How long ago they expired: [39.11500000953674,41.11500000953674,28.115000009536743,22.115000009536743,20.115000009536743,41.11500000953674,25.115000009536743,34.11500000953674,3.115000009536743,41.11500000953674,7.115000009536743,22.115000009536743,29.115000009536743,11.115000009536743,20.115000009536743,40.11500000953674,8.115000009536743,2.115000009536743,10.115000009536743,23.115000009536743,22.115000009536743,22.115000009536743,19.115000009536743,23.115000009536743,23.115000009536743,23.115000009536743,23.115000009536743,23.115000009536743,22.115000009536743,18.115000009536743,15.115000009536743,14.115000009536743,14.115000009536743,0.11500000953674316,4.115000009536743,9.115000009536743,2.115000009536743,7.115000009536743,0.11500000953674316,3.115000009536743,0.11500000953674316] | |
[1585082637127] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 246 | |
[1585082641999] WARN (58061 on 0x): Found 52 expiredOrders. How long ago they expired: [1.9930000305175781,2.993000030517578,43.99300003051758,32.99300003051758,26.993000030517578,24.993000030517578,1.9930000305175781,0.9930000305175781,2.993000030517578,0.9930000305175781,29.993000030517578,0.9930000305175781,38.99300003051758,7.993000030517578,11.993000030517578,26.993000030517578,33.99300003051758,15.993000030517578,0.9930000305175781,24.993000030517578,2.993000030517578,44.99300003051758,12.993000030517578,6.993000030517578,14.993000030517578,27.993000030517578,26.993000030517578,26.993000030517578,23.993000030517578,27.993000030517578,27.993000030517578,27.993000030517578,27.993000030517578,27.993000030517578,26.993000030517578,22.993000030517578,19.993000030517578,18.993000030517578,18.993000030517578,4.993000030517578,8.993000030517578,13.993000030517578,2.993000030517578,6.993000030517578,11.993000030517578,4.993000030517578,7.993000030517578,0.9930000305175781,4.993000030517578,1.9930000305175781,0.9930000305175781,0.9930000305175781] | |
[1585082642000] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 251 | |
[1585082652643] WARN (58061 on 0x): Found 71 expiredOrders. How long ago they expired: [5.634999990463257,12.634999990463257,13.634999990463257,54.63499999046326,43.63499999046326,37.63499999046326,4.634999990463257,35.63499999046326,12.634999990463257,9.634999990463257,11.634999990463257,9.634999990463257,9.634999990463257,13.634999990463257,11.634999990463257,3.634999990463257,2.634999990463257,40.63499999046326,11.634999990463257,49.63499999046326,18.634999990463257,22.634999990463257,37.63499999046326,44.63499999046326,26.634999990463257,3.634999990463257,11.634999990463257,35.63499999046326,13.634999990463257,4.634999990463257,8.634999990463257,55.63499999046326,8.634999990463257,23.634999990463257,9.634999990463257,17.634999990463257,25.634999990463257,38.63499999046326,37.63499999046326,37.63499999046326,34.63499999046326,38.63499999046326,38.63499999046326,38.63499999046326,38.63499999046326,38.63499999046326,37.63499999046326,33.63499999046326,30.634999990463257,29.634999990463257,29.634999990463257,15.634999990463257,19.634999990463257,24.634999990463257,13.634999990463257,17.634999990463257,22.634999990463257,15.634999990463257,18.634999990463257,10.634999990463257,11.634999990463257,15.634999990463257,5.634999990463257,5.634999990463257,5.634999990463257,5.634999990463257,12.634999990463257,11.634999990463257,11.634999990463257,1.6349999904632568,1.6349999904632568] | |
[1585082652644] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 232 | |
[1585082669694] WARN (58061 on 0x): Found 85 expiredOrders. How long ago they expired: [22.687000036239624,29.687000036239624,30.687000036239624,71.68700003623962,60.687000036239624,54.687000036239624,21.687000036239624,52.687000036239624,29.687000036239624,26.687000036239624,10.687000036239624,28.687000036239624,26.687000036239624,26.687000036239624,30.687000036239624,28.687000036239624,20.687000036239624,19.687000036239624,57.687000036239624,28.687000036239624,66.68700003623962,35.687000036239624,39.687000036239624,54.687000036239624,61.687000036239624,43.687000036239624,20.687000036239624,28.687000036239624,52.687000036239624,30.687000036239624,21.687000036239624,25.687000036239624,72.68700003623962,25.687000036239624,40.687000036239624,26.687000036239624,34.687000036239624,42.687000036239624,55.687000036239624,54.687000036239624,54.687000036239624,51.687000036239624,55.687000036239624,55.687000036239624,55.687000036239624,55.687000036239624,55.687000036239624,54.687000036239624,50.687000036239624,47.687000036239624,46.687000036239624,46.687000036239624,32.687000036239624,36.687000036239624,41.687000036239624,30.687000036239624,34.687000036239624,39.687000036239624,32.687000036239624,35.687000036239624,27.687000036239624,28.687000036239624,32.687000036239624,22.687000036239624,22.687000036239624,22.687000036239624,22.687000036239624,29.687000036239624,28.687000036239624,28.687000036239624,15.687000036239624,13.687000036239624,13.687000036239624,18.687000036239624,18.687000036239624,7.687000036239624,13.687000036239624,5.687000036239624,8.687000036239624,4.687000036239624,2.687000036239624,4.687000036239624,3.687000036239624,4.687000036239624,3.687000036239624] | |
[1585082669695] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 257 | |
[1585082685119] WARN (58061 on 0x): Found 14 expiredOrders. How long ago they expired: [3.1010000705718994,3.1010000705718994,3.1010000705718994,15.1010000705719,14.1010000705719,15.1010000705719,15.1010000705719,14.1010000705719,13.1010000705719,12.1010000705719,5.101000070571899,4.101000070571899,2.1010000705718994,3.1010000705718994] | |
[1585082685121] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 376 | |
[1585082699357] WARN (58061 on 0x): Found 23 expiredOrders. How long ago they expired: [17.34599995613098,17.34599995613098,17.34599995613098,4.3459999561309814,9.345999956130981,0.34599995613098145,1.3459999561309814,1.3459999561309814,27.34599995613098,26.34599995613098,19.34599995613098,18.34599995613098,16.34599995613098,17.34599995613098,6.3459999561309814,6.3459999561309814,8.345999956130981,2.3459999561309814,1.3459999561309814,1.3459999561309814,0.34599995613098145,1.3459999561309814,1.3459999561309814] | |
[1585082699358] INFO (58061 on 0x): | |
req: { | |
"url": "/sra/v3/orders", | |
"method": "GET", | |
"headers": { | |
"user-agent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/80.0.3987.149 Safari/537.36", | |
"host": "localhost:3000" | |
}, | |
"body": {}, | |
"params": {}, | |
"query": {} | |
} | |
res: { | |
"statusCode": 200, | |
"statusMessage": "OK" | |
} | |
responseTime: 274 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment