Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(279)

Unified Diff: DB/API_REST/mem_connect.php

Issue 335100043: DB with histogram
Patch Set: Fixing last bug Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « DB/API_REST/log_graph/graphs.log ('k') | DB/API_REST/print_cache.php » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: DB/API_REST/mem_connect.php
diff --git a/DB/API_REST/mem_connect.php b/DB/API_REST/mem_connect.php
new file mode 100755
index 0000000000000000000000000000000000000000..c317611a457277312287dafe9d3d42328cc780e5
--- /dev/null
+++ b/DB/API_REST/mem_connect.php
@@ -0,0 +1,10 @@
+<?php
+$memcache_host = "127.0.0.1";
+$memcache_port = '11211';
+$memcache = new Memcached;
+$memcache->addServer($memcache_host,$memcache_port);
+//system('for pid in $(ps -ef |grep [t]hread_database | awk \'{print $2}\'); do kill -9 $pid; done');
+//Start the thread
+//exec('php7.0 thread_database.php > /dev/null 2>/dev/null &');
+?>
+
« no previous file with comments | « DB/API_REST/log_graph/graphs.log ('k') | DB/API_REST/print_cache.php » ('j') | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b