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

Laracon 2024 #52710

Merged
merged 49 commits into from
Sep 11, 2024
Merged
Changes from 1 commit
Commits
Show all changes
49 commits
Select commit Hold shift + click to select a range
ed4884a
work on defer
taylorotwell Jul 2, 2024
50aae67
refine defer
taylorotwell Jul 4, 2024
efa71ff
refactor
taylorotwell Jul 4, 2024
714cef2
formatting
taylorotwell Jul 4, 2024
98b4d4c
fix new
taylorotwell Jul 4, 2024
cfd40dd
fix status code
taylorotwell Jul 5, 2024
f39acdc
handle job releases after exceptions
taylorotwell Jul 5, 2024
b4b7a75
add job attempted event
taylorotwell Jul 5, 2024
cff79e4
formatting
taylorotwell Jul 5, 2024
3ec696c
formatting
taylorotwell Jul 5, 2024
b7fa85f
first pass at swr
taylorotwell Jul 16, 2024
c9e1b7d
rename method
taylorotwell Jul 18, 2024
11977e7
add swr test
taylorotwell Jul 18, 2024
569c6f5
starting concurrency
taylorotwell Feb 3, 2024
5ec9d6b
wip
taylorotwell Feb 3, 2024
dc3d5d7
formatting
taylorotwell Feb 7, 2024
8ce4659
driver based
taylorotwell Feb 7, 2024
c89d85a
formatting
taylorotwell Feb 7, 2024
ecd8949
block on web
taylorotwell Jul 18, 2024
5e68fb3
fix docblock
taylorotwell Jul 18, 2024
65556fa
first pass at local temporary files
taylorotwell Jul 19, 2024
f467116
remove imports
taylorotwell Jul 19, 2024
69b658b
docblock
taylorotwell Jul 19, 2024
d2db712
work on routing
taylorotwell Jul 24, 2024
989a5f5
allow customization of serve behavior
taylorotwell Jul 25, 2024
1058023
work on local file serving
taylorotwell Jul 25, 2024
3de3331
route caching
taylorotwell Jul 25, 2024
b6656e3
move route caching check
taylorotwell Jul 25, 2024
9913bbc
extract file
taylorotwell Jul 25, 2024
318218c
formatting
taylorotwell Jul 25, 2024
14a9ae2
formatting
taylorotwell Jul 25, 2024
984c4a2
formatting
taylorotwell Jul 25, 2024
8ac5618
add test
taylorotwell Jul 31, 2024
308f142
formatting
taylorotwell Aug 1, 2024
1dd890a
add cache control
taylorotwell Aug 9, 2024
cc64665
use defer in concurrency
taylorotwell Aug 9, 2024
14dc1ad
allow return from sleep
taylorotwell Aug 9, 2024
03d198b
adjust sleep behavior
taylorotwell Aug 9, 2024
7726a92
add config file
taylorotwell Aug 20, 2024
1a8853e
testing
taylorotwell Aug 21, 2024
d9da8ae
add while to sleep
taylorotwell Aug 22, 2024
eb207ac
add autoload
taylorotwell Aug 25, 2024
3229285
add function
taylorotwell Aug 25, 2024
9ed9953
Apply fixes from StyleCI
StyleCIBot Sep 9, 2024
d71f4ee
Concurrency Improvements (#52713)
crynobone Sep 9, 2024
419893c
adjust php binary
taylorotwell Sep 11, 2024
516cd78
Merge branch 'laracon-2024' of github.com:laravel/framework into lara…
taylorotwell Sep 11, 2024
16b85a3
php executable finder
taylorotwell Sep 11, 2024
1de6373
false arg
taylorotwell Sep 11, 2024
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
Prev Previous commit
Next Next commit
block on web
taylorotwell committed Sep 9, 2024

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit ecd894927f7a4216783d4777f59217728e332eac
4 changes: 4 additions & 0 deletions src/Illuminate/Concurrency/ConcurrencyManager.php
Original file line number Diff line number Diff line change
@@ -42,6 +42,10 @@ public function createProcessDriver(array $config)
*/
public function createForkDriver(array $config)
{
if (! $this->app->runningInConsole()) {
throw new RuntimeException('Due to PHP limitations, the fork driver may not be used within web requests.');
}

if (! class_exists(Fork::class)) {
throw new RuntimeException('Please install the "spatie/fork" Composer package in order to utilize the "fork" driver.');
}