Appium SessionNotFoundException timeout

Hi,

Sometimes my appium script is failing with following exception…

Appium exception: org.openqa.selenium.remote.SessionNotFoundException:
Command duration or timeout: 602.05 seconds

This delays the entire script execution… where can I modify this timeout ?..

Thanks…

@balajilinks
you can set it while starting appium server add this --command-timeout

Thanks @salmanchauhan … I will give a try…