Skip to content

topl-core-base / io.matthewnelson.topl_core_base / TorConfigFiles / Builder / fileCreationTimeout


fun fileCreationTimeout(timeoutSeconds:Int): Builder (source)

When tor starts it waits for the control port and cookie auth files to be created before it proceeds to the next step in startup. If these files are not created after a certain amount of time, then the startup has failed.

This method specifies how much time to wait until failing the startup.

Default value is 15 seconds


timeoutSeconds - Int

Return Builder