mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: Add id to warn (#25597)
This commit is contained in:
parent
3da302716c
commit
8058fd5b80
@ -487,7 +487,10 @@ Category.reopenClass({
|
||||
const result = await categoryMultiCache.fetch(ids);
|
||||
if (categoryMultiCache.hadTooManyCalls()) {
|
||||
warn(
|
||||
"Multiple calls to Category.asyncFindByIds within a second. Could they be combined?"
|
||||
"Multiple calls to Category.asyncFindByIds within a second. Could they be combined?",
|
||||
{
|
||||
id: "discourse.category.multiple-async-find-by-ids-calls",
|
||||
}
|
||||
);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user