Document toolboxDocument toolbox

Support center for flex.bi version 4.0

Background jobs

There are several background job queues in flex.bi:

  • regular_import – for source application imports that are scheduled at a regular frequency.
  • application_import – for source application imports that are started manually.
  • file_import – for uploaded source file imports.
  • dashboard_email – sending emails for dashboard email subscriptions.

You can see the status of background job queues (as well as currently running background jobs) from the flex.bi System administration / Background jobs page.

By default, one parallel background job can be executed in each queue. If you would like to increase the size of the queue, then specify size setting for this queue in config/eazybi.toml file, for example:

 

[job_queue.application_import]
size = 2

 

If you would like to limit that no background jobs are executed during some hours then specify either disabled_hours or enabled_hours setting, for example:

 

[job_queue.application_import]
disabled_hours = "9-18"

 

or

 

[job_queue.application_import]
enabled_hours = "0-9,18-24"

 

In both cases, manual data imports will not be done from 9:00 to 18:00 (using the default flex.bi server time zone).

If you change disabled_hours or enabled_hours setting, then it will be checked each 10 minutes. If you change size setting then you need to restart flex.bi Enterprise server.