HOW TO CHANGE FROM 31 DAYS TO 365 DAYS

is there any way to change form 31 days to 365 days for this plug in, i had done this in the past but not sure how to do it now.

eg use to be in config file

if( !defined('AUTOMESSAGE_POLL_MAX_DELAY') ) define('AUTOMESSAGE_POLL_MAX_DELAY', 31);

changed 31 to 365 but no longer in there.