mirror of
https://github.com/esphome/esphome.git
synced 2025-10-23 12:13:49 +01:00
[pre-commit.ci lite] apply automatic fixes
This commit is contained in:
committed by
GitHub
parent
7bb222a574
commit
e0477e3bb1
@@ -116,7 +116,8 @@ template<typename... Ts> class QueueingScript : public Script<Ts...>, public Com
|
||||
// max_runs_ is the maximum *total* instances (running + queued)
|
||||
// So we reject when num_queued_ + 1 >= max_runs_ (queued + running >= max)
|
||||
if (this->num_queued_ + 1 >= this->max_runs_) {
|
||||
this->esp_logw_(__LINE__, ESPHOME_LOG_FORMAT("Script '%s' maximum total instances (running + queued) exceeded!"),
|
||||
this->esp_logw_(__LINE__,
|
||||
ESPHOME_LOG_FORMAT("Script '%s' maximum total instances (running + queued) exceeded!"),
|
||||
LOG_STR_ARG(this->name_));
|
||||
return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user