-
Notifications
You must be signed in to change notification settings - Fork 96
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixes #38022 - Do not use undefined setting
Sometimes the production.log is filled with a message: "Setting remote_execution_workers_pool_size has no definition, please define it before using" This message does not appear to be a blocker to any of the existing functionalities, however; it is misleading while troubleshooting the issues.
- Loading branch information
1 parent
59e81d8
commit 91d1152
Showing
2 changed files
with
9 additions
and
6 deletions.
There are no files selected for viewing
8 changes: 8 additions & 0 deletions
8
db/migrate/20241126150849_remove_remote_execution_workers_pool_size.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
class RemoveRemoteExecutionWorkersPoolSize < ActiveRecord::Migration[6.1] | ||
def up | ||
Setting.find_by(:name => 'remote_execution_workers_pool_size')&.delete | ||
end | ||
|
||
def down | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters