james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tellier Benoit (JIRA)" <server-...@james.apache.org>
Subject [jira] [Resolved] (JAMES-2447) Calmly await pollDelay make us loose time
Date Thu, 05 Jul 2018 02:41:00 GMT

     [ https://issues.apache.org/jira/browse/JAMES-2447?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel

Tellier Benoit resolved JAMES-2447.
    Resolution: Fixed

[https://github.com/linagora/james-project/pull/1512] solved the issue

> Calmly await pollDelay make us loose time
> -----------------------------------------
>                 Key: JAMES-2447
>                 URL: https://issues.apache.org/jira/browse/JAMES-2447
>             Project: James Server
>          Issue Type: Improvement
>          Components: JMAP, Mailet Contributions, tests
>            Reporter: Tellier Benoit
>            Assignee: Antoine Duprat
>            Priority: Major
> To check asynchronous conditions in tests, we extensively rely on Calmly await.
> However, the pollDelay (time before first check) is too high (500 ms) and causes us to
wait too much for (almost) synchronous calls (eg: JMAP auth tokens). Turning pollDelay to
 1 ms, and pollInterval to 100 ms makes us save some precious time (1 s per JMAP test)

This message was sent by Atlassian JIRA

To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org

View raw message