NunoSempere
74d1f2be23
Details: The findPathsInner function in lib/findPaths.js is too expensive, and has a tendency to throw "too much recursion" errors. However, it can be optimized. In particular, instead of just going through all paths, we could go in the paths in the right direction. Note that: The current improvements don't do that yet. I was trying to do that at the findDistance level, but I was being dumb.
11 lines
266 B
JavaScript
11 lines
266 B
JavaScript
import axios from "axios"
|
|
|
|
export async function pushToMongo(data){
|
|
/*
|
|
let response = await axios.post('http://metaforecast-twitter-bot.herokuapp.com/utility-function-extractor', {
|
|
data: data
|
|
})
|
|
console.log(response)
|
|
*/
|
|
}
|
|
// pushToMongo()
|