You are viewing a single comment's thread from:

RE: Wishes container - test

in Open Genie Dev5 months ago

I'm not sure if the setTimeout(assuming you are going to use it as an abort controller?) will stop executing the query on the mongo side of things. Killing the request running on Node is fairly simple, it's interfacing with mongo that gets a bit trickier(though still don't expect it to be terribly hard).

Sort:  

A slightly new DB control mechanism likely needs implemented with everything being transactional, calling back and managed by a function that it's wrapped in that can be null'd or cancelled when needed..

I might try a few things here later on my node and see if I break anything.. a few problems to solve but I think with some architecture refactoring what you wish to have implemented is possible.

lemme think on it a little bit. has to be a relatively straight answer.

Sounds good. Lets hope this does the trick!

Sketchy to test on my main witness server but I may in fact do that.. Need to time it right to not miss blocks and shit.. There was a site that showed the HE witness shceduling.. Do you remember the URL for that?

I may just spin up another HE instance to test on honestly.. I don't want to accidently break the chain or cause lag in the network..

Totally going to try some things though.. this task isn't super difficult.. but it's going to require refactor of a lot of lines of code.

Not sure what this wish site stuff is. I don't really even want to inquire about bounty pay or whatever as it's not why I'd help fix this.. I'm already top 20 so I view this as giving back to the community that put me into the top 20 slots.

Shall talk later... I'll branch main and have a whack at this.

Have a gooder sir! talk soon.

Primersion's site has the schedule: https://primersion.com/he-witnesses

I would NOT test on your witness. You can test this locally, the node doesn't even need to be synced up fully.

Yeah. More I think about it the more I realize that testing on a live witness being used to produce blocks is a terrible idea.. I'd feel like a jackass if I broke the chain and caused aa service outage.