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

Fix: Remove Duplicate Line in Background Jobs #415

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions qstash/features/background-jobs.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,6 @@ QStash provides a simple and efficient way to run background jobs, you can under

1. **Public API** Create a public API endpoint within your application. The endpoint should contain the logic for the background job.
<Warning>
Since QStash requires a public endpoint to invoke the background job, it won't be able to access any localhost APIs.
QStash requires a public endpoint to trigger background jobs, which means it cannot directly access localhost APIs.
To get around this, you have two options:
- Run QStash [development server](/qstash/howto/local-development) locally
Expand Down Expand Up @@ -122,4 +121,4 @@ To view a more detailed Next.js quick start guide for setting up QStash, refer t

It's also possible to schedule a background job to run at a later time using [schedules](/qstash/features/schedules).

If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/qstash/features/callbacks).
If you'd like to invoke another endpoint when the background job is complete, you can use [callbacks](/qstash/features/callbacks).