The calculation runs on the same server. When user starts a calculation a function creates a txt file and puts it in a folder in my application. The engine checks if the file is there. if file exists it starts a calculation. The way user stops calculation another function actually deletes that file and that is it. But the refresh button or view button as we call it (the function associated with ), just checks the out file engine produces.
How can I go around timeout? I am not sure I understand your answer Thank you On Thursday, January 7, 2016 at 8:40:05 PM UTC+1, Niphlod wrote: > > what are you to run the actual calculation ? because if you're using the > webserver, you may need to pay attention to the fact that there is ALWAYS a > timeout imposed on the request coming in to avoid runaway calculations. > > On Thursday, January 7, 2016 at 6:47:47 PM UTC+1, Yebach wrote: >> >> Hello >> >> Using web2py (Version 2.8.2-stable+timestamp.2013.11.28.13.54.07), on >> 64-bit Windows, I have the following problem >> >> User triggers an engine that does some work and this engine creates an >> txt file with results. While engine is still calculating (engine is >> creating better and better results), user can check the current results, >> clicking on icon that provides a view (of course there is a controller >> function alos). These results are read from txt file. >> >> Now some times while calculating this function is not triggered. I used >> Microsoft network monitor to monitor requests etc. I can see the request >> coming to server, but the function is not triggered. >> Some time the first time the user clicks to check the result the function >> is triggered but on refresh again request comes to server but no results >> (meaning fucniton not triggered) >> Any suggestions why these behavior ocures? >> >> Thank You >> > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.