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() { ...@@ -23,11 +23,8 @@ async function main() {
await redis.connect(); await redis.connect();
log.info('Connected to Redis!'); log.info('Connected to Redis!');
queryServiceReader(frontendPublisher, mlPublisher, 'neo4j'); await queryServiceReader(frontendPublisher, mlPublisher, 'neo4j');
insightProcessor(); await insightProcessor();
// TODO: other query services for other databases
log.info('Connected to RabbitMQ!');
} }
main(); await main();
...@@ -94,7 +94,7 @@ export const insightProcessor = async () => { ...@@ -94,7 +94,7 @@ export const insightProcessor = async () => {
const cypher = query2Cypher(convertedQuery); const cypher = query2Cypher(convertedQuery);
if (cypher == null) return; if (cypher == null) return;
try { try {
const result = await queryService(ss.dbConnections[0], cypher); const result = await queryService(ss.dbConnections[0], cypher, true);
insight.status = false; insight.status = false;
......