comparison pkg/geoserver/boot.go @ 2990:dfeb2928232b

Let GeoServer validate database connections before use Without, there could be stale WFS requests blocking the client if a database connection was broken.
author Tom Gottfried <tom@intevation.de>
date Wed, 10 Apr 2019 11:14:21 +0200
parents 9dbaf69c7a66
children fd14f149696c
comparison
equal deleted inserted replaced
2989:87d34efafb3a 2990:dfeb2928232b
170 {"passwd", config.DBPassword()}, 170 {"passwd", config.DBPassword()},
171 {"dbtype", databaseType}, 171 {"dbtype", databaseType},
172 {"Primary key metadata table", primaryKeyMetadataTbl}, 172 {"Primary key metadata table", primaryKeyMetadataTbl},
173 {"Session startup SQL", startupSQL}, 173 {"Session startup SQL", startupSQL},
174 {"Session close-up SQL", closeupSQL}, 174 {"Session close-up SQL", closeupSQL},
175 {"validate connections", true},
175 {"Estimated extends", false}, 176 {"Estimated extends", false},
176 }, 177 },
177 }, 178 },
178 }, 179 },
179 } 180 }