fix: ensure requestSync is set correctly in DocumentSchema
- Added a line to set payload.requestSync to true within the DocumentSchema class, ensuring that synchronization requests are properly flagged for processing. - This change reinforces the handling of sync operations, aligning with previous optimizations made to the background synchronization process.
This commit is contained in:
@@ -774,9 +774,9 @@ export class DocumentSchema extends PothosSchema {
|
|||||||
// payload.pageIndex,
|
// payload.pageIndex,
|
||||||
// ctx
|
// ctx
|
||||||
// );
|
// );
|
||||||
|
payload.requestSync = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
payload.requestSync = true;
|
|
||||||
// biome-ignore lint/suspicious/noExplicitAny: error is any
|
// biome-ignore lint/suspicious/noExplicitAny: error is any
|
||||||
} catch (error: any) {
|
} catch (error: any) {
|
||||||
Logger.error("Background sync check failed", {
|
Logger.error("Background sync check failed", {
|
||||||
|
|||||||
Reference in New Issue
Block a user