On vrijdag 1 juni 2018 01:35:36 CEST Mohammed Noor wrote:
> I want to be able to display a page saying 'please wait for taken to complete process>' after submit button is clicked. Can you please
> give me any ideas on how to implement this.
As said by others, celery is one way to do this and th
On Thu, May 31, 2018 at 7:35 PM, Mohammed Noor wrote:
> Hello Guys,
>
> I currently have a process running on my django application which takes about
> 10-15 minutes to complete.
>
> Currently, the user clicks on a 'submit' button and this process starts. The
> web page remains in a hung state f
Wow. Yeah. That scenario of 100 users hitting together...honestly, I haven't
thought much about it. Would using celery help me overcome this problem?
> On 01-Jun-2018, at 4:33 PM, Jason wrote:
>
> you can with celery, just make a view that checks the task ID of the task and
> if its PENDING,
you can with celery, just make a view that checks the task ID of the task
and if its PENDING, return 'waiting', which would be used by your browser.
also consider the fact that servers will require you to specifically
override the connection timeout setting. with finite numbers of
connections
Thanks Mark! I will surely have a look at them.
But I was hoping if there was a way of getting this done using ajax or
jquery.
Mohammed Noor
On Fri, Jun 1, 2018 at 11:55 AM, Mark Phillips
wrote:
> Have you looked at celery (http://www.celeryproject.org/) to handle the
> long running process? P
Have you looked at celery (http://www.celeryproject.org/) to handle the
long running process? Perhaps in conjunction with redis (https://redis.io/)?
If you passed the long running process to celery, then you could change the
page to "say please wait".
Mark
On Thu, May 31, 2018 at 4:35 PM, Mo
Hello Guys,
I currently have a process running on my django application which takes about
10-15 minutes to complete.
Currently, the user clicks on a 'submit' button and this process starts. The
web page remains in a hung state for the complete time this process takes to
run and after say 10-1
7 matches
Mail list logo