[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[lmi-commits] [lmi] valyuta/005 641a56f 1/4: Mark uncached product-file
From: |
Greg Chicares |
Subject: |
[lmi-commits] [lmi] valyuta/005 641a56f 1/4: Mark uncached product-file instances |
Date: |
Fri, 29 Jan 2021 17:08:08 -0500 (EST) |
branch: valyuta/005
commit 641a56f60b320a038b6ba9b8f2b5230ae728eb6d
Author: Gregory W. Chicares <gchicares@sbcglobal.net>
Commit: Gregory W. Chicares <gchicares@sbcglobal.net>
Mark uncached product-file instances
---
gpt_server.cpp | 4 +---
mec_server.cpp | 4 +---
2 files changed, 2 insertions(+), 6 deletions(-)
diff --git a/gpt_server.cpp b/gpt_server.cpp
index 6abc2a7..6646e06 100644
--- a/gpt_server.cpp
+++ b/gpt_server.cpp
@@ -123,10 +123,9 @@ gpt_state test_one_days_gpt_transactions
double Payment =
exact_cast<tnr_nonnegative_double >(input["Payment"
])->value();
double BenefitAmount =
exact_cast<tnr_nonnegative_double >(input["BenefitAmount"
])->value();
- // CURRENCY !! [not really currency] consider caching this
+ // DATABASE !! consider caching these product files
product_data product_filenames(ProductName);
- // CURRENCY !! [not really currency] consider caching this
product_database database
(ProductName
,NewGender
@@ -137,7 +136,6 @@ gpt_state test_one_days_gpt_transactions
,StateOfJurisdiction
);
- // CURRENCY !! [not really currency] consider caching this
stratified_charges
stratified(AddDataDir(product_filenames.datum("TierFilename")));
// SOMEDAY !! Ideally these would be in the GUI (or read from product
files).
diff --git a/mec_server.cpp b/mec_server.cpp
index c1c75f2..609e74e 100644
--- a/mec_server.cpp
+++ b/mec_server.cpp
@@ -106,10 +106,9 @@ mec_state test_one_days_7702A_transactions
double Payment =
exact_cast<tnr_nonnegative_double >(input["Payment"
])->value();
double BenefitAmount =
exact_cast<tnr_nonnegative_double >(input["BenefitAmount"
])->value();
- // CURRENCY !! [not really currency] consider caching this
+ // DATABASE !! consider caching these product files
product_data product_filenames(ProductName);
- // CURRENCY !! [not really currency] consider caching this
product_database database
(ProductName
,Gender
@@ -120,7 +119,6 @@ mec_state test_one_days_7702A_transactions
,StateOfJurisdiction
);
- // CURRENCY !! [not really currency] consider caching this
stratified_charges
stratified(AddDataDir(product_filenames.datum("TierFilename")));
// SOMEDAY !! Ideally these would be in the GUI (or read from product
files).