I get timeout when viewing "Summary" for the entire year

When I click Summary and select “Yearly” I get a response from the browser like this:

Error: timeout of 30000ms exceeded. See dev console (F12) and/or server logs for more info.

The console shows:

Uncaught (in promise) Error: timeout of 30000ms exceeded
    at t.exports (createError.js:16)
    at XMLHttpRequest.f.ontimeout (xhr.js:95)

Can I adjust the timeout interval in an ini file or in the db connection?
PS. my pc hardware is fairly new, and my dataset is approx. 1,5 years in total since I started using the software.

Thanks in advance,

Since yearly is not in the official builds and you have changed the web-ui to enable that I assume that you can also change the aw-client-js code to increase the max request time.
It’s specified here