Uploaded image for project: 'Agroal'
  1. Agroal
  2. AG-229

Connection validation should be configurable to be always used on lease


    • Icon: Feature Request Feature Request
    • Resolution: Done
    • Icon: Major Major
    • 2.3
    • None
    • pool
    • None
    • False
    • None
    • False

      Currently agroal has background connection validation and foreground connection validation. However, foreground connection validation is only possible with an idle timeout, that always must be a positive number. It should be possible to be able te set connection validation to "always", so that every connection is validated before it is leased/borrowed.

      The current 'workaround' is to set idleValidationTimeout to the lowest possible idle timeout of 1ms. It would be nicer to be able to set it to just always perform validation and not check the idle timeout whatsoever.

            lbarreiro-1 Luis Barreiro
            kimdlanor Ronald Mik (Inactive)
            0 Vote for this issue
            3 Start watching this issue