Controlling event re-triggering

12 views
Skip to first unread message

Ramkrishna Kulkarni

unread,
Sep 27, 2016, 6:28:12 AM9/27/16
to Nitrogen Project / The Nitrogen Web Framework for Erlang
Hello,

If a request takes a lot of time to complete, events are re-triggered and this creates another task at the backend which is not desired.

Is it possible to stop re-triggering of the requests and make the client site to wait forever (i.e. till the response is available)?

Thanks.

Ramkrishna Kulkarni

unread,
Sep 28, 2016, 2:42:44 AM9/28/16
to Nitrogen Project / The Nitrogen Web Framework for Erlang

Sorry, this had nothing to do with the server. In nitrogen.js file AJAX timeout is set to 18 seconds. I've set it to 0 (wait indefinitely) and my problems are solved.

Thanks.

Jesse Gumm

unread,
Sep 28, 2016, 9:25:38 AM9/28/16
to nitrogenweb

Excellent!

Sorry for not responding. I got a little backed up in my work.

The automatic retriggering is something I'd like to revise to make more tunable going forward.

-Jesse


--
You received this message because you are subscribed to the Google Groups "Nitrogen Project / The Nitrogen Web Framework for Erlang" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nitrogenweb+unsubscribe@googlegroups.com.
To post to this group, send email to nitro...@googlegroups.com.
Visit this group at https://groups.google.com/group/nitrogenweb.
For more options, visit https://groups.google.com/d/optout.
Reply all
Reply to author
Forward
0 new messages