Commit graph

300 commits

Author SHA1 Message Date
Matt Amos
95c6974763 Disabled automatic parsing of XML to a hash in request bodies for a modest 15% speedup. 2009-05-21 23:48:34 +00:00
Tom Hughes
4f6dc55683 Check for wrapped timeout errors properly. 2009-05-21 21:55:30 +00:00
Shaun McDonald
0d5136c1aa Don't store the real database config in svn, instead store examples for Postgres and MySQL. (Reverting Edgemaster's silly revert.) 2009-05-21 14:45:16 +00:00
Shaun McDonald
d4954bc7b1 Raising an exception in Ruby requires a .new. Add a timeout line to the capabilities call. 2009-05-21 14:05:09 +00:00
Tom Hughes
e3cbeeae94 Monkey patch rails to ensure OSM::APITimeoutError exceptions are not lost. 2009-05-21 09:57:21 +00:00
Richard Fairhurst
8100be1e8d Potlatch 1.0 2009-05-21 00:30:33 +00:00
Tom Hughes
b38684e59e Add a global timeout that is applied to most API requests. 2009-05-20 22:18:36 +00:00
Thomas Wood
0f46c39257 Back out the stupid change. 2009-05-16 22:46:42 +00:00
Thomas Wood
c424fa0ee5 Second part of [15085] 2009-05-16 22:42:34 +00:00
Thomas Wood
ccd42522f7 Database config changes to hopefully stop people from accidently commiting database.yml. (As recommended by Shaun)
I'll back this out if it doesn't work nicely with what's on dev.
2009-05-16 22:37:08 +00:00
Tom Hughes
1a172c3ede Revert harry's commit of the database configuration. 2009-05-15 17:59:01 +00:00
Harry Wood
3415aa4689 label changesets as (big) based on their bbox area 2009-05-15 16:24:55 +00:00
Tom Hughes
d6e605414d Set a custom return path so that we can ignore bounces. 2009-05-09 12:17:10 +00:00
Richard Fairhurst
e1005ce62f a few small fixes 2009-05-09 10:00:40 +00:00
Tom Hughes
f7cbff9a5a Move geocoder constants to application configuration to avoid test warnings. 2009-05-08 18:21:39 +00:00
Shaun McDonald
62f999cd83 Updating for rails 2.2.2 2009-05-08 18:04:08 +00:00
Richard Fairhurst
8696d144ad Potlatch 0.11b 2009-05-04 23:37:06 +00:00
Tom Hughes
72b05157ae Remove old code to exit after 10000 requests as the memory limit code
should do a better job of controlling things.
2009-04-26 23:14:20 +00:00
Tom Hughes
1bd3710134 Increase the hard memory limit and set a lower soft limit that does a
clean restart between requests.
2009-04-26 16:56:40 +00:00
Grant Slater
d6f7bbfcd1 lighttpd increase server.max-fds from 1024 (default) to 8192 after lighttpd deadlock. 2009-04-23 02:00:15 +00:00
Tom Hughes
ac126bced1 Add a geocoder backend. 2009-04-21 15:08:36 +00:00
Tom Hughes
e66af2f0c3 Connect up the versioned capabilities call again. 2009-04-21 09:32:19 +00:00
Tom Hughes
fb7f01b13c Switch database config to postgresql. 2009-04-21 07:56:52 +00:00
Tom Hughes
2483dcc4bb Update lighttpd config for 0.6 api. 2009-04-21 07:54:00 +00:00
Tom Hughes
94a807d0d0 Remove explicit load of mysql and rails automatically loads the
right database driver already.
2009-04-21 07:52:47 +00:00
Tom Hughes
832e7a6729 Improve comments. 2009-04-21 07:51:26 +00:00
Grant Slater
1f399ffd85 nginx fix expiry to actually work on images/javascripts/etc 2009-04-21 02:42:29 +00:00
Tom Hughes
d2c83d07d8 Pull in block rules from the lighttpd config. 2009-04-20 21:14:39 +00:00
Tom Hughes
73a0953627 Give munin access to some statistics. 2009-04-20 20:14:05 +00:00
Thomas Wood
df8cd4a7b2 Expose relation version to api and fix remaining server status typo in old_relation controller. 2009-04-20 19:44:58 +00:00
Tom Hughes
10079fbba9 Increase fastcgi timeout to 300s for bulk api requests. 2009-04-20 19:30:23 +00:00
Tom Hughes
ebac563f90 Remove trailing whitespace. 2009-04-20 19:25:10 +00:00
Tom Hughes
9b3496d2e2 Strip asset tags from user images. 2009-04-20 19:22:38 +00:00
Tom Hughes
0c44c8dc35 Detabify. 2009-04-20 18:57:05 +00:00
Grant Slater
1ac08391f1 nginx fixes, including http://api.openstreetmap/0.6/... support 2009-04-20 18:45:20 +00:00
Tom Hughes
86f38e1669 Remove location block from abuse placeholder so it applies server wide. 2009-04-20 17:32:33 +00:00
Tom Hughes
4dab3b4d33 Restrict 7 day expiry on /export to just the embed.html page. 2009-04-20 17:27:12 +00:00
Tom Hughes
7f4aa53193 Return 404 for unknown API versions instead of 403. 2009-04-20 17:17:00 +00:00
Tom Hughes
f05138db0f Strip asset tags from public files. 2009-04-20 17:09:26 +00:00
Tom Hughes
4b2f73dff9 Move access_log configuration. 2009-04-20 17:00:52 +00:00
Tom Hughes
cfaf23fefe Tidy things up and fix a few errors. 2009-04-20 16:59:12 +00:00
Tom Hughes
dd663122d8 Remove tabs. 2009-04-20 16:39:24 +00:00
Tom Hughes
531cac3b7b Add missing semicolon. 2009-04-20 16:37:48 +00:00
Tom Hughes
0678546d85 Remove private data. 2009-04-20 16:37:36 +00:00
Tom Hughes
fa2c23431f Convert to unix newlines. 2009-04-20 16:37:12 +00:00
Grant Slater
30176160e6 nginx syntax tweaks 2009-04-20 15:38:48 +00:00
Tom Hughes
f9f5856d2b Rewrite /0.n/... as /api/0.n/... for the api virtual host. 2009-04-20 15:16:38 +00:00
Grant Slater
f23e982e72 correct nginx syntax 2009-04-20 14:37:46 +00:00
Grant Slater
b90e70bd91 initial untest nginx config. API 0.6 tweaking still required. 2009-04-20 14:20:33 +00:00
Grant Slater
476e3f2b55 add mongrel_cluster config for potential usage later 2009-04-20 13:25:28 +00:00