mirror of
https://github.com/hoytech/strfry.git
synced 2025-06-22 10:28:06 +00:00
track sources of events
This commit is contained in:
@ -228,7 +228,7 @@ void cmd_sync(const std::vector<std::string> &subArgs) {
|
||||
controller->finish(txn,
|
||||
[&](std::string_view newLeaf){
|
||||
// FIXME: relay could crash client here by sending invalid JSON
|
||||
writer.inbox.push_move(tao::json::from_string(std::string(newLeaf)));
|
||||
writer.inbox.push_move(WriterPipelineInput{ tao::json::from_string(std::string(newLeaf)), EventSourceType::Sync, url });
|
||||
},
|
||||
[&](std::string_view){
|
||||
}
|
||||
|
Reference in New Issue
Block a user