Bug #425
edit of issues take too long to post
| Status: | Closed | Start: | 03/18/2010 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assignee: | - | % Done: | 100% |
|
| Category: | - | Spent time: | - | |
| Target version: | - | Velocity: | 0.00 beans per hour | |
| Story points | - | |||
| Velocity based estimate | - | |||
| Remaining hours |
Description
viewing issues takes less than 1 second, but posting edits takes 10 seconds.
History
Updated by Brenda Butler about 2 years ago
- % Done changed from 0 to 80
Was taking too long in Net::SMTP (called from action_mailer).
Turned off notifications, and it went a lot faster.
Updated by Brenda Butler about 2 years ago
It would be nice if notifications went out ...
To turn off notifications, had removed config/email.yml
To turn on notifications, put it back. Change production smtp_settings address from mail.local to localhost.
Fortunately, posting edits of issues is still faster. However we still don't get any email.
Note that postfix is not listening on 127.0.0.1 (on code).
I wonder if mail.local exists and/or listens to mail from code. But I'm out of time to look at this for the next while.
Updated by Brenda Butler about 2 years ago
Changed email.yml to say:
production:
delivery_method: :smtp
smtp_settings:
address: code.gatineau.credil.org
port: 25
domain: gatineau.credil.org
Because postfix is not listening on localhost and it is listening on 10.10.5.3 (ie, code.gatineau.credil.org).
We'll see how long this update takes to post ...
Updated by Brenda Butler about 2 years ago
The update was pretty quick, so this change doesn't slow down posting of edits to issues.
However the email still doesn't come through.
I guess postfix is configured to require TLS and perhaps actionmailer isn't.
Maybe one day that can be fixed.
Updated by Brenda Butler about 2 years ago
Changed email.yml to say:
production:
delivery_method: :smtp
smtp_settings:
tls: true
address: code.gatineau.credil.org
port: 587
domain: gatineau.credil.org
authentication: :plain
user_name: theusername
password: thepassword
and want to see if this makes updating tickets slow ...
Updated by Brenda Butler about 2 years ago
It was a fast update. But, I still don't see anything in code's mail logs (not even failures).
Guess I'll leave it there.
Updated by Brenda Butler about 2 years ago
Ah, postfix isn't listening on 587. Try on port 25.
Updated by Brenda Butler about 2 years ago
Fast update of post of edit of issue; but still nothing in email logs.
Updated by Andrew Clunis over 1 year ago
- Status changed from New to Closed
- % Done changed from 80 to 100
This was fixed by Brenda some time ago. Turns out some broken configuration to do with mail was blocking things.