How to reduce workflow task timeout time

May I know how to reduce the work flow task timeout time

My task gets timed out for grpc connection and it gets restarted after default time of 10sec but I want to reduce the default time to 1sec.