Skip to content

Commit

Permalink
Merge branch 'fde/less_throttling' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
x37v committed Jun 25, 2024
2 parents df65cab + ceefa01 commit 10d9c10
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/actions/instances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -251,9 +251,9 @@ export const setInstanceParameterValueNormalizedOnRemote = throttle((instance: I
oscQueryBridge.sendPacket(writePacket(message));
// optimistic local state update
dispatch(setInstance(instance.setParameterNormalizedValue(param.id, value)));
}, 100);
}, 25);

export const setInstanceDataRefValueOnRemote = throttle((instance: InstanceStateRecord, dataref: DataRefRecord, file?: DataFileRecord): AppThunk =>
export const setInstanceDataRefValueOnRemote = (instance: InstanceStateRecord, dataref: DataRefRecord, file?: DataFileRecord): AppThunk =>
() => {

const message = {
Expand All @@ -264,7 +264,7 @@ export const setInstanceDataRefValueOnRemote = throttle((instance: InstanceState
};

oscQueryBridge.sendPacket(writePacket(message));
}, 100);
};

export const setInstanceParameterMetaOnRemote = (_instance: InstanceStateRecord, param: ParameterRecord, value: string): AppThunk =>
() => {
Expand Down

0 comments on commit 10d9c10

Please sign in to comment.