Skip to content

Commit

Permalink
chore: delay php-fpm service restart upon configuration update (#365)
Browse files Browse the repository at this point in the history
* chore: delay php-fpm service restart upon configuration update
---------

Co-authored-by: Ivan Golman <ivan.golman@ops.dkd.de>
Co-authored-by: Dan Webb <dan.webb@damacus.io>
  • Loading branch information
3 people authored Nov 7, 2024
1 parent 345e336 commit c7e3065
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,10 @@ This file is used to list changes made in each version of the PHP cookbook.

## Unreleased

## 10.1.2 - *2024-11-06*

- delay `phpX.Y-fpm` service restart upon configuration update

## 10.1.1 - *2024-08-01*

- resolved cookstyle error: metadata.rb:14:20 refactor: `Chef/Correctness/SupportsMustBeFloat`
Expand Down
2 changes: 1 addition & 1 deletion resources/fpm_pool.rb
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@
fpm_pool_chdir: new_resource.chdir,
fpm_pool_additional_config: new_resource.additional_config
)
notifies :restart, "service[#{new_resource.service}]"
notifies :restart, "service[#{new_resource.service}]", :delayed
end
end

Expand Down

0 comments on commit c7e3065

Please sign in to comment.