mirror of
https://github.com/4gray/iptvnator.git
synced 2026-10-16 06:06:18 -08:00
fix(stalker): drain local repair before edit lock
This commit is contained in:
1 parent
3deca56a44
commit
b8ed60c091
10 files changed
+88
-12
No files matched your search
@@ -107,7 +107,8 @@ describe('AppStalkerPlaylistConnectionEditorService', () => {
|
||||
expect.objectContaining({
|
||||
portalUrl: sourcePlaylist.portalUrl,
|
||||
stalkerSerialNumber: sourcePlaylist.stalkerSerialNumber,
|
||||
})
|
||||
}),
|
||||
expect.any(Promise)
|
||||
);
|
||||
|
||||
expect(discovery.discover).toHaveBeenCalledWith(
|
||||
|
||||
@@ -222,7 +222,8 @@ export class AppStalkerPlaylistConnectionEditorService implements StalkerPlaylis
|
||||
try {
|
||||
fence = await this.stalkerSession.beginEditDiscovery(
|
||||
playlist,
|
||||
sourcePlaylist
|
||||
sourcePlaylist,
|
||||
repairDrain
|
||||
);
|
||||
await repairDrain;
|
||||
this.editFences.set(playlist._id, fence);
|
||||
|
||||
Reference in new issue
Block a user