sync: add some helpful comments

This commit is contained in:
Abdullah Atta
2022-12-30 11:39:57 +05:00
parent f539a29b41
commit 19b0d94406
2 changed files with 4 additions and 1 deletions
@@ -27,7 +27,7 @@ using Streetwriters.Data.Repositories;
namespace Notesnook.API.Controllers
{
// TODO: this should be moved out into its own microservice
[ApiController]
[Route("announcements")]
public class AnnouncementController : ControllerBase
+3
View File
@@ -92,6 +92,9 @@ namespace Notesnook.API.Hubs
var data = transferItem.Items[i];
var type = transferItem.Types[i];
// We intentionally don't await here to speed up the sync. Fire and forget
// suits here because we don't really care if the item reaches the other
// devices.
others.SyncItem(
new SyncTransferItem
{