Skip to content

Commit 5ddbe91

Browse files
authored
Added notes regarding queue processing order
1 parent 0489856 commit 5ddbe91

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -68,6 +68,19 @@ config.UsePostgreSqlStorage(c =>
6868
)
6969
);
7070
```
71+
### Queue processing
72+
73+
Similar to `Hangfire.SqlServer`, queues are processed in alphabetical order. Given the following example
74+
75+
```csharp
76+
var options = new BackgroundJobServerOptions
77+
{
78+
Queues = new[] { "general-queue", "very-fast-queue", "a-long-running-queue" }
79+
};
80+
app.UseHangfireServer(options);
81+
```
82+
83+
this provider would first process jobs in `a-long-running-queue`, then `general-queue` and lastly `very-fast-queue`.
7184

7285
### License
7386

0 commit comments

Comments
 (0)