Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

queue.add_job() does not send message to SQS #38

Open
rterzman opened this issue Sep 19, 2023 · 0 comments
Open

queue.add_job() does not send message to SQS #38

rterzman opened this issue Sep 19, 2023 · 0 comments

Comments

@rterzman
Copy link

rterzman commented Sep 19, 2023

Hello,
I am using sqs-workers for handling long-term tasks and I faced an issue with sending tasks:
Here is my code snippet:

sqs = SQSEnv(session=boto_client.get_session()) queue = sqs.queue("dev-test-queue") async generate_task(request: Request): configuration_data = to_config(request) message_id = queue.add_job(job_name="exectute_task", config_data=configuration_data)

The point is queue.add_job(_) return message_id but message is not appeared under SQS queue.

Stack:

  • fast-api 0.103.1
  • boto3 1.28.49
  • sqs-workers 0.5.12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant