Sort:  

Looking for someone to work on Hive-Engine code to write a new feature to time out API requests if they take too long: https://github.com/hive-engine/hivesmartcontracts/issues/68

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@rishi556/hive-engine-api-development-1715295144280

HE application uses "axios" module if I remember for outgoing calls. In your case here you're looking to modify the API in order to time out requests?

What duration of timeout you looking for? And do I submit a branch on the github in order to apply for this?

I've run an HE node for some time (with your help initially) and am in the top 20 witness list, would gladly have a whack at this if it would help improve the HE application and ecosystem.

Get ahold of me on here or on discord if you have any info on this and how you'd like it set up.

Link to my account: https://genie.peakd.com/@klye

Found the syntax to add timeouts to MongoDB calls:

db.collection.find(
{ },
{ }
).maxTimeMS( );

I'm willing to take this on. I will create a new branch here locally and begin refactoring everything.

Link to my account: https://genie.peakd.com/@klye

Yeah that looks about right from my attempt at it. I think that it doesn’t work for findOne though and you’ll have to find a different solution for that

A conditional setTimout wrapping around it that executes if the query surpasses the time limit which would return false or timeout error or whatever.

I can have a whack at it here by the weekend or if I get some free time in the next couple days.. It shouldn't be hard per say, just tedious and a bunch of shit to refactor..!

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).

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!

@klye

Assigned - Genie chosen

Any progress @klye?

Started looking at it then got sidetracked. Will try and make some time for this on the weekend.

Sounds good!

@klye

Assigned - Genie chosen

Gonna look at the timeout shit for HE some tomorrow! Cheers!

@klye

Assigned - Genie chosen

Going to get a local HE instance running here... But I need some computing in the cloud to run tests against? :/

Tests against?

Syncing my local HE node.. I'm jsut not sure how I can query the API locally in a way that replicates the external calls.

But yeah.. I'm still working on this. Sorry for the delays

Just call the API using your local endpoint?

This wish is closed due to actions of the Hive-Engine team not keeping the platform decentralized, but instead centralizing it HEAVILY.

Gonna have another look at this here... Need to get a node synced up anyways...

Figure "postman" would be useful for the testing of the calls eh? Need to look at my modded version and see if it's doing what it needs to.. Sorry for the delay on this.

Link to my account: https://genie.peakd.com/@klye

Wish status: Closed - Wish Failed

Is this working?

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@yozen.dev/testing-wish-as-comment-1714735762860

Is this working?

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@yozen.dev/re-yozendev-scwrgz

Test

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@one-eyed-willy/testing-post-as-comment-1714749062782

I am interested!

Link to my account: https://genie.peakd.com/@yozen.dev

Test

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@one-eyed-willy/re-one-eyed-willy-scx0y0

Test

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@yozen.dev/comment-wish-1714813516198

Test

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@yozen.dev/re-yozendev-scyffj

Wish status: Closed - Filled Wish

Congratulations @opengenie! You have completed the following achievement on the Hive blockchain And have been rewarded with New badge(s)

You made more than 50 comments.
Your next target is to reach 100 comments.
You got more than 50 replies.
Your next target is to reach 100 replies.

You can view your badges on your board and compare yourself to others in the Ranking
If you no longer want to receive notifications, reply to this comment with the word STOP

Check out our last posts:

Our Hive Power Delegations to the April PUM Winners
Feedback from the May Hive Power Up Day
Hive Power Up Month Challenge - April 2024 Winners List

A new wish has been created Notifications beacon.testing notifications-test-1715179678127

A new wish has been created Notifications beacon.testing re-beacontesting-sd69h6

A new wish has been created Notifications beacon.testing re-beacontesting-sd69l3

Find bugs, give insightful feedback or write a review.
We will raise budget if the bug is important or the insight is valuable.

This is a post created on the open genie platform you can view it best on this user interface: https://genie.peakd.com/@opengenie/help-improve-open-genie-1715257851295

Cool Project. I'll sure be testing it and providing feedback into this.

Link to my account: https://genie.peakd.com/@khan.dayyanz

When I click on the notificatinos bell, which says I have one, ir gives me a 404 error. I am using Brave. I tried to add a screenshot but it seems that's not possible.

Link to my account: https://genie.peakd.com/@gillianpearce

It would be nice to be able to add images when clicking on 'Express interest or Ask Questions'

Link to my account: https://genie.peakd.com/@stekene

When you create a wish, it's possible to add a thumbnail. Though I didn't find the option to add an image of my own. It would be telling more if I add an appropriate thumbnail picture instead of the limited amount of genie pictures in my opinion.
Thanks for consideration!

Link to my account: https://genie.peakd.com/@stekene

Providing a way for people who like a specific wish (either because they have the same one or would like that wish to be fulfilled) to add contributions to the budget.

I think that would be useful for at least people that have the same wishes.

Link to my account: https://genie.peakd.com/@forkyishere