Chore(index): Sync logs management (#11522)
**What** - Add index engine sync log information - Ad `setTimeout(0)` to give breath to the event loop and ensuring not blocking the event loop and allow for other tasks queue execution to happen while syncing here is an example: **LOG_LEVEL=info**  **LOG_LEVEL=debug** 
This commit is contained in:
1 parent
647077057c
commit
77f37c5f97
6 files changed
+57
-9
No files matched your search
@@ -31,6 +31,7 @@ Object.keys(config.modules).forEach((key) => {
|
||||
config.modules[Modules.INDEX] = {
|
||||
resolve: "@medusajs/index",
|
||||
dependencies: [
|
||||
ContainerRegistrationKeys.LOGGER,
|
||||
Modules.EVENT_BUS,
|
||||
Modules.LOCKING,
|
||||
ContainerRegistrationKeys.REMOTE_QUERY,
|
||||
|
||||
Reference in new issue
Block a user