developer.jelix.org is not used any more and exists only for history. Post new tickets on the Github account.
developer.jelix.org n'est plus utilisée, et existe uniquement pour son historique. Postez les nouveaux tickets sur le compte github.

Opened 12 years ago

Closed 12 years ago

Last modified 12 years ago

#671 closed enhancement (fixed)

Support d'un timeout pour le driver pgsql

Reported by: analogue Owned by:
Priority: normal Milestone: Jelix 1.0.6
Component: jelix:plugins Version: 1.0.5
Severity: minor Keywords:
Cc: Blocked By:
Blocking: Documentation needed: no
Hosting Provider: Php version:

Description

Ce patch permet de spécifier un timeout pour le driver de BDD pgsql. Pour l'activer, dans le dbprofils.ini.php, il suffit d'ajouter une ligne timeout=5 pour un timeout de 5 secondes.

Exemple:

[mondriver]
driver=pgsql
database="mabdd"
host="psql.domaine.com"
port=5432
user="dbuser"
timeout=5

Le patch inclut fonctionne poru les branches trunk et 1.0.x

Attachments (2)

timeout.diff (1.3 KB) - added by analogue 12 years ago.
timeout.2.diff (1.3 KB) - added by analogue 12 years ago.
Bugfixed patch file

Download all attachments as: .zip

Change History (5)

Changed 12 years ago by analogue

Changed 12 years ago by analogue

Bugfixed patch file

comment:1 Changed 12 years ago by analogue

Utilisez timeout.2.diff g uploadé le premier trop vite =(

comment:2 Changed 12 years ago by laurentj

  • Documentation needed set
  • Milestone set to Jelix 1.0.6
  • Resolution set to fixed
  • review changed from review? to review+
  • Severity changed from normal to minor
  • Status changed from new to closed

patch landed into the trunk and the 1.0.x branch

comment:3 Changed 12 years ago by analogue

  • Documentation needed unset

Doc written in french, page does not exist in english

Note: See TracTickets for help on using tickets.