Changing timing parameters (timeout)

Connection timeout time with the SiTef server


The standard waiting time for CliSiTef to be able to connect with the SiTef server is 6 seconds. For increase or decrease this waiting time, configure the ConnectionWaitTime field in the SiTef section with the new value, in seconds.

[SiTef]
TempoEsperaConexao=<timeout time, in seconds>

Additional time for transaction timeout


Normally CliSiTef receives timeout parameters from the SiTef server. CliSiTef takes into account these values, also adding a safety margin regarding any time spent on transmission.

In situations where the authorizer is unavailable, and depending on the communication channel between the SiTef server and the CliSiTef, this margin may be insufficient, and errors such as “No connection to the SiTef server” may occur. quando o correto seria “Serviço do autorizador indisponível”.

To include an additional time in seconds, simply include the item AdditionalWaitingTime in the SiTef. section

[SiTef]
TempoAdicionalEspera=<additional time for timeout, in seconds>

Undo waiting time


The standard waiting time (timeout) for CliSiTef to receive a response to a message undo sent to the SiTef server is 6 seconds. To change this value, configure the field in the SiTef section UndoWaitTime the new value, in seconds.

[SiTef]
TempoEsperaDesfazimento=<time for timeout, in seconds>

Confirmation waiting time


The standard waiting time (timeout) for CliSiTef to receive a response to a message confirmation/non-confirmation sent to the SiTef server is 6 seconds. To change this value, configure in the section SiTef the field TempoEsperaConfirmacao the new value, in seconds.

[SiTef]
TempoEsperaConfirmacao=<timeout time, in seconds>