catalyst / moodle-tool_lockstats

Moodle cron / task API lock statistics admin tool
https://moodle.org/plugins/tool_lockstats
6 stars 13 forks source link

Make the various columns larger #65

Closed brendanheywood closed 5 years ago

brendanheywood commented 5 years ago

ERROR: value too long for type character varying(255) STATEMENT: INSERT INTO mdl_tool_lockstats_locks (resourcekey,gained,host,pid,classname,customdata,latency) VALUES($1,$2,$3,$4,$5,$6,$7) RETURNING id

This is on an odler version but the issue remains. These fields have been renamed but are still 255.

Please change all 5 columns from 255 to 1024

https://github.com/catalyst/moodle-tool_lockstats/blob/master/db/install.xml#L10-L12

https://github.com/catalyst/moodle-tool_lockstats/blob/master/db/install.xml#L31-L32