vTaskDelay: how it works

again, as @rohitmdn pointed out, your code appears to be executed in the main loop instead of a task which is an error. Then again, if your app_main() is indeed a task function, then you need to relocate the while(1), otherwise your call to vTaskDelay() is executed exactly once.