54 seconds. For some reason…
[postgres@sofa ~]$ psql -d discourse -c "select uh.updated_at, username, previous_value, new_value
from user_histories uh
join users u on u.id=acting_user_id
where subject='ninja_edit_window'
order by uh.updated_at asc;"
updated_at | username | previous_value | new_value
----------------------------+----------+----------------+-----------
2014-06-25 15:56:02.054118 | dhromed | 300 | 60
2014-07-15 16:05:28.750162 | PJH | 60 | 300
2014-07-15 16:05:33.381305 | PJH | 300 | 60
2014-10-29 00:50:43.081509 | system | 60 | 54
(4 rows)
[postgres@sofa ~]$