apply daemon oauth and optimize the sync time