mirror of
https://github.com/hoernschen/dendrite.git
synced 2024-12-28 16:08:27 +00:00
remove erroneous commentary
This commit is contained in:
parent
034ff3208c
commit
7f41f39684
1 changed files with 0 additions and 4 deletions
|
@ -420,10 +420,6 @@ func (d *Database) EventPositionInTopology(
|
||||||
func (d *Database) syncPositionTx(
|
func (d *Database) syncPositionTx(
|
||||||
ctx context.Context, txn *sql.Tx,
|
ctx context.Context, txn *sql.Tx,
|
||||||
) (sp types.StreamingToken, err error) {
|
) (sp types.StreamingToken, err error) {
|
||||||
|
|
||||||
// XXX: it seems very inefficient to be doing all these aggregate selects
|
|
||||||
// every time we call /sync...
|
|
||||||
|
|
||||||
maxEventID, err := d.OutputEvents.SelectMaxEventID(ctx, txn)
|
maxEventID, err := d.OutputEvents.SelectMaxEventID(ctx, txn)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
return sp, err
|
return sp, err
|
||||||
|
|
Loading…
Reference in a new issue