Commit 84382e9
committed
Avoid buffering - next ISeq chunk may be delayed
The ISeq elements may be delayed at source, thus causing an
unnecessary wait at the client end for the output. We flush
the writer after writing out every ISeq element. This makes
implementing Server-sent Events smooth as well.1 parent cca9a7b commit 84382e9
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
0 commit comments