Skip to content

Commit

Permalink
remove accidental dataref setting throttle
Browse files Browse the repository at this point in the history
  • Loading branch information
fde31 committed Jun 25, 2024
1 parent df65cab commit 8db2e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/actions/instances.ts
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,7 @@ export const setInstanceParameterValueNormalizedOnRemote = throttle((instance: I
dispatch(setInstance(instance.setParameterNormalizedValue(param.id, value)));
}, 100);

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 8db2e00

Please sign in to comment.