Skip to content

Not able to rest the serverless worked locally with concurrency (example provided on Runpod documentation fails) #365

@shreyassaxena

Description

@shreyassaxena

Bug

Running concurrent server locally exits. with the error message:
WARNING: You must pass the application as an import string to enable 'reload' or 'workers'.
After this message, the process exits instead of being a live server for testing.

To Reproduce
Steps to reproduce the behavior:

  1. Follow the steps here: https://docs.runpod.io/serverless/workers/development/concurrency
  2. Run "python runpod_example/main.py --rp_serve_api --rp_api_concurrency 4"
  3. See error

Expected behavior
Expected a lock server with concurrency.

Desktop (please complete the following information):

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions