Skip to content

Commit

Permalink
Merge branch 'release/0.11.1'
Browse files Browse the repository at this point in the history
  • Loading branch information
s3rius committed Apr 20, 2024
2 parents c2cebfb + 336974b commit b352cb4
Show file tree
Hide file tree
Showing 15 changed files with 761 additions and 600 deletions.
2 changes: 1 addition & 1 deletion docs/available-components/schedule-sources.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Currently we have only one schedule source.
## RedisScheduleSource

This source is capable of adding new schedules in runtime. It uses Redis as a storage for schedules.
To use this source you need to install `taskiq-redids` package.
To use this source you need to install `taskiq-redis` package.

```python
from taskiq_redis import RedisScheduleSource
Expand Down
4 changes: 3 additions & 1 deletion docs/guide/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,9 @@ when you modify ignored files. To disable this functionality pass `--do-not-use-
* `--receiver` - python path to custom receiver class.
* `--receiver_arg` - custom args for receiver.
* `--ack-type` - Type of acknowledgement. This parameter is used to set when to acknowledge the task. Possible values are `when_received`, `when_executed`, `when_saved`. Default is `when_saved`.
- `--shutdown-timeout` - maximum amount of time for graceful broker's shutdown in seconds.
* `max-tasks-per-child` - maximum number of tasks to be executed by a single worker process before restart.
* `--shutdown-timeout` - maximum amount of time for graceful broker's shutdown in seconds.
* `--wait-tasks-timeout` - if cannot read new messages from the broker or maximum number of tasks is reached, worker will wait for all current tasks to finish. This parameter sets the maximum amount of time to wait until shutdown.

## Scheduler

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/scheduling-tasks.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ Now we can use this source to add new schedules in runtime. Here's an example:
)
```

Or if you want ot use cron schedules instead, just use `schedule_by_cron` method.
Or if you want to use cron schedules instead, just use `schedule_by_cron` method.

```python
await my_task.schedule_by_cron(
Expand Down
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,12 @@
},
"packageManager": "[email protected]",
"devDependencies": {
"@vuepress/bundler-vite": "2.0.0-rc.6",
"@vuepress/bundler-vite": "2.0.0-rc.9",
"mermaid": "^10.8.0",
"sass-loader": "^14.1.0",
"vue": "^3.4.15",
"vuepress": "2.0.0-rc.6",
"vuepress-plugin-search-pro": "2.0.0-rc.22",
"vuepress-theme-hope": "2.0.0-rc.22"
"vuepress": "2.0.0-rc.9",
"vuepress-plugin-search-pro": "2.0.0-rc.36",
"vuepress-theme-hope": "2.0.0-rc.36"
}
}
Loading

0 comments on commit b352cb4

Please sign in to comment.