Remove duplicate 'interval' param in example code