Migrate API requests to resque worker