Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • graphpolaris/microservices/query-service
1 result
Show changes
Commits on Source (1)
......@@ -23,11 +23,8 @@ async function main() {
await redis.connect();
log.info('Connected to Redis!');
queryServiceReader(frontendPublisher, mlPublisher, 'neo4j');
insightProcessor();
// TODO: other query services for other databases
log.info('Connected to RabbitMQ!');
await queryServiceReader(frontendPublisher, mlPublisher, 'neo4j');
await insightProcessor();
}
main();
await main();
......@@ -94,7 +94,7 @@ export const insightProcessor = async () => {
const cypher = query2Cypher(convertedQuery);
if (cypher == null) return;
try {
const result = await queryService(ss.dbConnections[0], cypher);
const result = await queryService(ss.dbConnections[0], cypher, true);
insight.status = false;
......