add longpulling setting