_design/raspberry_defThis view is only used in the raspberries subsystem.
running_processesOnly handles documents that have a field running_ids. Allows efficient
finding of which raspberry pis are currently running.
mapfunction(doc) {
if (!doc.running_ids) return;
emit([doc.created_by, doc.timestamp, doc.ip], null);
doc.running_ids.forEach( function(o) {
emit([doc.created_by, doc.timestamp, null], { _id : o });
});
}reduce: _countThis is only used on the raspberries site. (Search for "running_processes".)