Change the amount of time before TCP node throws error

Hi! Waiting for a TCP request node to throw a "connect failed" error is part of my flow, but it takes around 1min 15sec. I know that if there's no connect in the first 15 seconds of attempting, there's not going to be any point in waiting around, the connection won't happen.

Does anyone know of a way to specify the amount of time the TCP request node waits around before it throws an error?


in settings.js

  // Timeout in milliseconds for TCP server socket connections
    //  defaults to no timeout
    //socketTimeout: 120000,

uncomment socketTimeout with your own value and restart node-red.

Thanks so much!