Skip to content

Update octane.md #613

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

Merged
merged 1 commit into from
Jul 16, 2025
Merged
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
8 changes: 4 additions & 4 deletions octane.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
git: 0fb74b53ead24933cdc2024aa979675b45e6e821
git: 0790883cb65b64c49bcdca57b5d114bf2ccb5abb
---

# Laravel Octane
Expand Down Expand Up @@ -569,15 +569,15 @@ php artisan octane:start --workers=4 --task-workers=6

```php
Octane::tick('simple-ticker', fn () => ray('Ticking...'))
->seconds(10);
->seconds(10);
```

Используя метод `immediate`, вы можете указать Octane немедленно вызывать обратный вызов тика при первоначальной загрузке сервера Octane и каждые N секунд после этого:

```php
Octane::tick('simple-ticker', fn () => ray('Ticking...'))
->seconds(10)
->immediate();
->seconds(10)
->immediate();
```

<a name="the-octane-cache"></a>
Expand Down