Commit Graph

28902 Commits (c28430d52771ed6950e8482095a72ee8ef0c168d)

Author SHA1 Message Date
UbitUmarov c28430d527 oops... 2017-05-15 18:12:17 +01:00
UbitUmarov c74e0e2d9b remove a Paralell.For (actually not used). That kind of fine gained multitask makes no sense on already heavy multitasked server application like opensim. CPU cores are already busy or needed elsewhere. 2017-05-15 18:10:08 +01:00
Geir Nøklebye 7f163e8f76 Update NPGSQL from version 2.0.14.3 to 2.1.3. This is a relatively big update where 2.1.0 has a number of bug fixes, new functionality and improved performance. (see details at https://github.com/npgsql/npgsql/releases/tag/v2.1.0) The binaries supplied are for .NET 4.0 If you need binaries for older versions they can be dowloaded from https://github.com/npgsql/npgsql/releases/tag/v2.1.3. There are also binaries for 4.5.
The performance improvement is particularly evident on terrain load and other repeated queries to the database. This version will automatically generate prepare statements if it sees 5 consecutive identical statements and cache them for later use. The prepare statement will skip the analyze portion of the query planner once a statement has been created.  In addition there are improvements in the connection pool logic that will improve performance once connections get scarce.

Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-14 18:59:24 +01:00
Geir Nøklebye c1d06a806d Updated Npgsql.dll to version 2.0.14.3 built for .NET 4.0 Mono.Security has been updated for the same build.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-14 18:58:16 +01:00
UbitUmarov 156707edfb clear land object on delete 2017-05-14 06:27:29 +01:00
UbitUmarov 92df6095d5 don't round to nearest int 2017-05-14 05:49:01 +01:00
UbitUmarov f968118e23 don't do dwell if there is no module active 2017-05-14 05:39:22 +01:00
UbitUmarov 9ab8ce1404 fix remote requests for dwell, so dwell module still called 2017-05-14 04:17:48 +01:00
UbitUmarov cb21caae77 fix some issue on parcels loading and make parcels dwell show something. Resolution is 2.5min aprox. 2017-05-14 01:44:04 +01:00
UbitUmarov 25ca8695f3 find parcels by GlobalID.. well most time 2017-05-13 20:21:56 +01:00
UbitUmarov dd0269df48 fix passcollisions bool value on store 2017-05-13 17:22:56 +01:00
Geir Nøklebye 7cf82a71d6 PGSQL: Convert PassCollision in table prims to bool to avoid a hopeless cast that fails with newer versions of NPGSQL.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-13 17:15:47 +01:00
UbitUmarov 16f02cb6fd we can't allow abort to change only one dic 2017-05-13 16:34:29 +01:00
UbitUmarov 9ea49d107d fix wrong locking on unused path it case it does get uses. Thanks LaNani Sundara 2017-05-13 15:58:35 +01:00
UbitUmarov 086eb28a91 a bit more on ServicePointManager 2017-05-12 22:03:53 +01:00
UbitUmarov 948138a3a4 lower connection limits again 2017-05-12 16:45:58 +01:00
UbitUmarov 566c96dc85 revert changes to *exe.config since a host mask of * produces identical effects as runtime setting 2017-05-12 15:54:54 +01:00
UbitUmarov d08df7bda7 mantis 8165: fix a null ref on hg gatekeeper on another place 2017-05-12 15:22:16 +01:00
UbitUmarov 5e577baa10 fix a null ref on hg gatekeeper 2017-05-12 14:42:21 +01:00
UbitUmarov 0f2ab6bddd soem changes on connections limits 2017-05-12 14:20:06 +01:00
UbitUmarov 8bdd4c3ed9 yes it is not destiny grid but destination.. thx u know who :) 2017-05-12 12:30:59 +01:00
UbitUmarov 9c46e4921a remove forgotten refs to Mono.Posix.dll 2017-05-12 04:08:55 +01:00
UbitUmarov a932f24ba4 minor fix on sensorrepeat 2017-05-12 03:53:18 +01:00
UbitUmarov 19d141c9a5 avoid a null ref 2017-05-11 23:46:06 +01:00
UbitUmarov 97d02ecf32 remove a coment added by mistake 2017-05-11 21:44:57 +01:00
UbitUmarov b8138c37d3 hide a nonsense option 2017-05-11 21:41:33 +01:00
UbitUmarov cc95b7e2d4 don't allow multiple presences of same avatar also on HG gatekeeper 2017-05-11 20:26:06 +01:00
UbitUmarov f09fafff34 some cleanup 2017-05-11 20:24:47 +01:00
UbitUmarov fb427daa34 avoid a null ref 2017-05-11 19:06:49 +01:00
UbitUmarov 211a1fe9d4 do not allow multiple logins of same avatar. No HG case, that needs work on some paths. option m_allowDuplicatePresences is checked, but is is a total nonsense.. Presences control will get broken if allowed, No one ever added code to suport it correctly. 2017-05-11 17:59:37 +01:00
UbitUmarov 5968c6372a let new regions know about grid services god 2017-05-11 17:30:57 +01:00
UbitUmarov 7e8c996d1b add a grid services god account 2017-05-11 17:15:02 +01:00
UbitUmarov 731510c305 let .net decide GC mode from its defaults on the platform 2017-05-09 18:27:06 +01:00
UbitUmarov 52d4cf692c update mysql connector to v6.9.9 .net4.0 2017-05-09 12:22:42 +01:00
Geir Nøklebye 03a38a80ab PGSQL: Rewrote EstateStore.migrations as it errored out in version 8 leaving the database without any estate tables on first run. It also lacked primary keys on estate_map and estate_settings. Syntax requires Postgresql 9.5 or higher.
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-09 12:00:45 +01:00
UbitUmarov 957ca41b13 remove file bin/Mono.Posix.dll that causes problems with mono 2017-05-09 11:58:07 +01:00
Geir Nøklebye d952d62baa PGSQL: Add missing AgentPrefs.migrations
Signed-off-by: UbitUmarov <ajlduarte@sapo.pt>
2017-05-08 20:25:03 +01:00
UbitUmarov 604b966d84 some conditional dispose on http requests inputstream 2017-05-08 00:40:15 +01:00
UbitUmarov 8ef43e5fb3 take more heavy work out of opened dbconn sections 2017-05-07 22:22:28 +01:00
UbitUmarov d0912b6151 let StreamReader be in using statements 2017-05-07 00:47:45 +01:00
UbitUmarov de55ad9545 oops closed too soon 2017-05-06 22:12:45 +01:00
UbitUmarov c57215687f a few more changes on mysql 2017-05-06 21:43:22 +01:00
UbitUmarov 4b2ef46de6 don't hold dbconn longer than necessart 2017-05-06 20:40:29 +01:00
UbitUmarov 76337b1d8e another misplaced close 2017-05-06 20:38:38 +01:00
UbitUmarov 504736eb43 build const strings a compile time... 2017-05-06 20:23:55 +01:00
UbitUmarov 54eb6fc779 GZipStream does have a CopyTo() 2017-05-06 18:25:07 +01:00
UbitUmarov eb93855d84 dispose some MemoryStreams 2017-05-06 17:47:43 +01:00
UbitUmarov ae191cd304 dispose some MemoryStreams 2017-05-06 15:57:47 +01:00
UbitUmarov 025bef4e07 fix a few wrong placement ( this is a test by the way ) 2017-05-06 01:47:26 +01:00
UbitUmarov d26a9ed0b1 fix wrong placement 2017-05-06 01:41:33 +01:00