Adjusting the frequency of IdleCallback()

Explorer ,
Nov 08, 2020

Copy link to clipboard

Copied

Hi,

While profiling my plugin, I noticed that each call to IdleCallback() is separated by 10 seconds, exactly, even when InDesign is not busy at all. Is there a way to change the frequency with which IdleCallback() is being called ?

Very best regards,

Olivier

TOPICS
How to, Performance, SDK

Views

63

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more

1 Correct Answer

Adobe Community Professional , Nov 08, 2020
Manan Joshi Adobe Community Professional , Nov 08, 2020
Isn't that controlled by the return value of the RunTask method in the IIdleTask interface -Manan

Likes

Translate

Translate
Jump to answer Jump to answer
Adobe Community Professional ,
Nov 08, 2020

Copy link to clipboard

Copied

Isn't that controlled by the return value of the RunTask method in the IIdleTask interface

-Manan

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Olivier Beltrami AUTHOR LATEST
Explorer ,
Nov 08, 2020

Copy link to clipboard

Copied

Hi Manan,

Thank you very much, found the line in IppIdleTask.cpp.

const static int kIppExecInterval = 5 * 1000;

Very best regards,

Olivier

Likes

Translate

Translate

Report

Report
Reply
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more