Hi,
I have a serious issue which occurs very rarely. I was running RQ workers
and it was picking up tasks smoothly. Suddenly i increased the numprocs in
supervisor configuration from 2 to 3 and i restarted the supervisor. After
that restart no tasks are getting picked by the RQ worker. This pro
I want to send notification to specific authenticated user using Channels 2.
Stackoverflow:
https://stackoverflow.com/questions/55310717/sending-notification-to-one-user-using-channels-2
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
I currently have a chatbot app in my django project that I would like to
deploy.
I am confused as to whether I should use WebSockets or normal HTTP calls
(AJAX) for it's implementation. This is what I have understood about the
pros/cons of each(in the context of my use-case) till now after s
How to create a report in django-admin panel of number of users added to
the database in a day, week and month. Also, how many API calls for every
particular API has been made in a day, week and month.
--
You received this message because you are subscribed to the Google Groups
"Django users"
I tried googling Matemática A3K but did not find any proper response but
finally i came to know that i need to manage high availability redis or
rabbitmq clusters. If there is any such option given by celery to simply
skip the task if any broker fails then it would have solved my problem.
Thank
during heavy workloads.
Is there any solution to this problem because it is a common scenario when
a broker might fail.
On Thursday, January 4, 2018 at 1:04:06 AM UTC+5:30, Matemática A3K wrote:
>
>
>
> On Wed, Jan 3, 2018 at 6:25 AM, Mukul Mantosh > wrote:
>
>> *I'm
On Tuesday, January 2, 2018 at 9:16:33 AM UTC+5:30, Mukul Mantosh wrote:
>
> How to handle the problem when celery is unable to connect to the broker
> (redis or rabbitmq)...while the connection gets lost the entire code gets
> stuck because celery is trying to reconnect to the h
, 2018 at 2:08:24 PM UTC+5:30, Matemática A3K wrote:
>
>
>
> On Tue, Jan 2, 2018 at 11:14 PM, Mukul Mantosh > wrote:
>
>> I am not using result backend my question is that when the broker
>> connection is lost it throws a connection refused exception which i
I am not using result backend my question is that when the broker
connection is lost it throws a connection refused exception which i could
normally catch through the following given below code.
*try:*
* add.delay(2, 2)*
*except add.OperationalError as exc:*
* print('error');*
Reference 1:
h
I am not losing connection but i am preparing for failure if what happens
broker connection is lost and how celery will handle the task...i don't
want the request to stuck infinite time.
On Tuesday, January 2, 2018 at 6:24:22 PM UTC+5:30, Jason wrote:
>
> This is probably something better suited
How to handle the problem when celery is unable to connect to the broker
(redis or rabbitmq)...while the connection gets lost the entire code gets
stuck because celery is trying to reconnect to the host.
But without being stuck how can i simply bypass this problem and my code be
still running s
How to rename an image with FileField type. Please tell me how to do it in
*views* while uploading an image to S3.
import osfrom uuid import uuid4
def path_and_rename(path):
def wrapper(instance, filename):
ext = filename.split('.')[-1]
# get filename
if instance.pk:
M UTC+5:30, Krishnasagar
Subhedarpage wrote:
>
> Can you elaborate question? Please add some background for it.
> ---
> Krishnasagar
>
>
>
> On Thu, Dec 28, 2017 at 1:40 PM, Mukul Mantosh > wrote:
>
>> How to get JWT Token in DRF using only mobile number as the parameter
How to get JWT Token in DRF using only mobile number as the parameter
instead of email and password..
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-use
I have two models (User and Employee). I want to create a new user and make
a reference between employee and user.
*User Table*
1. Name
2. E-Mail
3. Date of Birth
4. Contact Number
*Employee Table*
1. EmployeeID
2. Address
3. Country
4. Profile Photo
5. *user_id*
*Problem Statement: *When
15 matches
Mail list logo