dipdup icon indicating copy to clipboard operation
dipdup copied to clipboard

Configurable size of handler batch

Open droserasprout opened this issue 1 year ago • 3 comments

A batch of matched handlers passed to batch handler currently always equals one block. It's called in _process_level_data. The task is to make it configurable, either by number of blocks or matched handlers.

droserasprout avatar Sep 06 '24 20:09 droserasprout

I am applying to this issue via OnlyDust platform.

My background and how it can be leveraged

i am developer with experience using python and some python frame work

How I plan on tackling this issue

Identify Current Batch Logic:

Locate where the batch handler processes one block at a time in _process_level_data. Make Batch Size Configurable:

Add configuration options for batch size, allowing users to set by number of blocks or matched handlers. Modify _process_level_data:

Update the function to check the configuration and process either a specific number of blocks or matched handlers in each batch. Test the New Configuration:

Ensure the system correctly handles different batch sizes and configurations without breaking the current functionality. Document Changes:

Update documentation to explain the new configurable batch options.

NueloSE avatar Sep 26 '24 08:09 NueloSE

Unassigning for inactivity.

droserasprout avatar Oct 02 '24 22:10 droserasprout

@droserasprout can I be assign to work on this?

Naomi-Gift avatar Oct 02 '24 22:10 Naomi-Gift