Skip to content

Commit

Permalink
feat: polling optimizations
Browse files Browse the repository at this point in the history
  • Loading branch information
mshanemc committed May 3, 2022
1 parent 3cafbdf commit e39afd4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/shared/remoteSourceTrackingService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -539,11 +539,16 @@ export class RemoteSourceTrackingService extends ConfigFile<RemoteSourceTracking
].includes(fileResponse.type) &&
// don't wait for standard fields on standard objects
!(fileResponse.type === 'CustomField' && !fileResponse.filePath?.includes('__c')) &&
// deleted fields
!(fileResponse.type === 'CustomField' && !fileResponse.filePath?.includes('_del__c')) &&
// they're settings to mdapi, and FooSettings in sourceMembers
!fileResponse.type.includes('Settings') &&
// mdapi encodes these, sourceMembers don't have encoding
!(
(fileResponse.type === 'Layout' || fileResponse.type === 'BusinessProcess') &&
(fileResponse.type === 'Layout' ||
fileResponse.type === 'BusinessProcess' ||
fileResponse.type === 'Profile' ||
fileResponse.type === 'HomePageLayout') &&
fileResponse.filePath?.includes('%')
) &&
// namespaced labels and CMDT don't resolve correctly
Expand Down

0 comments on commit e39afd4

Please sign in to comment.