When we create a job we can use 'data' to set some data in to it, so what I saw is when initially save data into the database it serialize and save, and since there is no any unserialization to the 'data' it keep serializing when job schedules starts.

So ultimately you will get a big serialize array, so ideal solution would be unserialize and re-write $job object before process.

Patch is attached.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

heshanlk’s picture

Status: Active » Needs review
FileSize
553 bytes
Dmitriy.trt’s picture

FileSize
818 bytes

Re-rolled on top of the latest git code at the moment and fixed code formatting (tabs vs spaces).

Dmitriy.trt’s picture

Title: Data object keep serializing » Data is not unserialized
checker’s picture

This patch stops growing the serialize array in data for me.

twistor’s picture

twistor’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.