Global Feed Post Login
Replying to Avatar کیهان

fyi: i think grain has some serious issues on reading some index of an array without checking last time i read the code. i would take a look at the code and tell you the details.

if higher layers of your code are not checking this, then it would ve easy to make it to crash...

maybe i opened a pr.

Avatar
OceanSlim 1y ago

Please do. The instance I run at wheat never goes down. But I know the Requests might not always responded to correctly. Certainly check,

https://github.com/0ceanSlim/grain/blob/main/server%2Fhandlers%2Freq.go

And

https://github.com/0ceanSlim/grain/blob/main/server%2Fdb%2Fmongo%2FqueryMongo.go

And how events are handled:

https://github.com/0ceanSlim/grain/blob/main/server%2Fhandlers%2Fevent.go

Reply to this note

Please Login to reply.

Discussion

Avatar
کیهان 11mo ago

yep, ill check it today. 👀

Thread collapsed