Merged master into docs_upgrade

This commit is contained in:
Michael Harding committed 2019-02-15 17:00:53 -05:00
commit 7f4bb184a1
9 files changed
+10 -41

No files matched your search

+1
View File
@@ -26,6 +26,7 @@ src/server/sparkd/orderman/perf_analysis/logs/
src/server/sparkd/orderman/perf_analysis/trace_data/
.fake
*.fsx.lock
*.code-workspace
src/lib/orderman/perf_analysis/logs/latency_data/
trace_data/
/src/lib/orderman/perf_analysis/last_pretty_log.csv
-27
View File
@@ -1,27 +0,0 @@
{
"folders": [
{
"path": "."
},
{
"uri": "sftp://bts:BT5u53r@sparkvm:22/home/bts/",
"name": "sparkvm"
}
],
"settings": {
"files.associations": {
"utility": "cpp",
"initializer_list": "cpp",
"list": "cpp",
"type_traits": "cpp",
"vector": "cpp",
"xhash": "cpp",
"xstring": "cpp",
"system_error": "cpp",
"array": "cpp",
"string_view": "cpp",
"xutility": "cpp",
"*.ipp": "cpp"
}
}
}
+1 -1
View File
@@ -15,7 +15,7 @@ namespace bts.api.orderman {
public OrderRecordImmutable order { get; }
public override bool Equals(object obj) => (obj is OrderSecurity os) && Equals(os);
public bool Equals(OrderSecurity other) => order.Key == other.order.Key && security == other.security;
public bool Equals(OrderSecurity other) => order.Equals(other.order) && security == other.security;
public override int GetHashCode() => (security, order).GetHashCode();
public static bool operator == (OrderSecurity left, OrderSecurity right) => left.Equals(right);
+5 -5
View File
@@ -175,12 +175,12 @@ namespace mbts.spark {
clone.Remove(o.order.Key);
}
}
foreach (var o in table.changed) {
if (o.order.is_active()) {
clone[o.order.Key] = o;
foreach (var o in table.changes) {
if (o.Old.order.is_active()) {
clone.Remove(o.Old.order.Key);
}
else {
clone.Remove(o.order.Key);
if (o.New.order.is_active()) {
clone.Add(o.New.order.Key, o.New);
}
}
foreach (var o in table.added) {
+1 -1
View File
@@ -53,7 +53,7 @@ ConfigDownloader::Result ConfigDownloader::get(const string& url, stringstream&
curl_easy_setopt(_curl, CURLOPT_WRITEDATA, &out_stream);
curl_easy_setopt(_curl, CURLOPT_VERBOSE, 0);
curl_easy_setopt(_curl, CURLOPT_FAILONERROR, 1);
curl_easy_setopt(_curl, CURLOPT_CONNECTTIMEOUT, 30);
curl_easy_setopt(_curl, CURLOPT_CONNECTTIMEOUT, 6);
curl_easy_setopt(_curl, CURLOPT_SOCKOPTFUNCTION, no_linger);
CURLcode res = curl_easy_perform(_curl);
-2
View File
@@ -2,7 +2,6 @@
#include "lib/logging/logging.h"
#include "lib/utils/bts_assert.h"
#include "lib/utils/thread_manager.h"
#include "lib/utils/Dispatcher.h"
namespace bts {
namespace utils {
@@ -21,7 +20,6 @@ void finit_spark_lib()
if (poller) {
delete poller;
}
utils::Dispatcher::background().terminate();
}
}}
-4
View File
@@ -6,10 +6,6 @@ export PATH="$PATH:/root/.dotnet/tools"
if ! [ -x "$(command -v npx)" ]; then
npm install -g npx
fi
# install paket
if ! [ -x "$(command -v paket)" ]; then
dotnet tool install -g paket
fi
export OUT=${BUILD_DIR:-../../../build}/web
MODE=manual
+1
View File
@@ -14,3 +14,4 @@ This test needs to run against production market data or high quality recorded d
4. Repeat 2.
5. If there is *any* doubt that the UI is snappy bring up the previous release and compare. At minimum we need to not regress UI performance.