You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@CoachChuckFF I noticed an issue with this when trying to spin up a new service.
It seems that the way you're doing it can actually cause the same doc to try to get saved more than once and crash the server. Likewise you are also assuming that the user will continually poll the endpoint bc you seem to give them an out of date state. I get that it works to first order but may be a good idea to refactor this.
The text was updated successfully, but these errors were encountered:
nip-105-server/server.js
Line 232 in d92adc1
@CoachChuckFF I noticed an issue with this when trying to spin up a new service.
It seems that the way you're doing it can actually cause the same doc to try to get saved more than once and crash the server. Likewise you are also assuming that the user will continually poll the endpoint bc you seem to give them an out of date state. I get that it works to first order but may be a good idea to refactor this.
The text was updated successfully, but these errors were encountered: