lib/srdb1: increased the safety check for max db url to 1023
- was 255, too small for large connection strings needed for no-sql
- reported by GH #1545
(cherry picked from commit 0a9ebbbdfe0cd4c137338adbacf5c5890222708a)
(cherry picked from commit 7e763c727076af3a3a35db4fc840e857ba00ae46)