mirror of
https://github.com/storytold/artcraft.git
synced 2026-11-09 11:31:27 +00:00
w2l analysis, remove garbage from email-sender-job
This commit is contained in:
1 parent
63143121f6
commit
d4f4648dc2
2 files changed
+13
-12
No files matched your search
@@ -0,0 +1,13 @@
|
||||
-- Top w2l users
|
||||
select
|
||||
distinct maybe_creator_user_token,
|
||||
count(*) as creations,
|
||||
u.username,
|
||||
u.email_address,
|
||||
u.maybe_stripe_customer_id,
|
||||
u.created_at
|
||||
from w2l_inference_jobs w
|
||||
left outer join users u
|
||||
on u.token = w.maybe_creator_user_token
|
||||
group by maybe_creator_user_token
|
||||
order by creations desc
|
||||
@@ -47,18 +47,6 @@ pub mod http_server;
|
||||
pub mod job;
|
||||
pub mod job_dependencies;
|
||||
|
||||
// Buckets (shared config)
|
||||
const ENV_ACCESS_KEY : &str = "ACCESS_KEY";
|
||||
const ENV_SECRET_KEY : &str = "SECRET_KEY";
|
||||
const ENV_REGION_NAME : &str = "REGION_NAME";
|
||||
|
||||
// Bucket names
|
||||
const ENV_PRIVATE_BUCKET_NAME : &str = "PRIVATE_BUCKET_NAME";
|
||||
const ENV_PUBLIC_BUCKET_NAME : &str = "PUBLIC_BUCKET_NAME";
|
||||
|
||||
// HTTP sidecar
|
||||
const ENV_TTS_INFERENCE_SIDECAR_HOSTNAME: &str = "TTS_INFERENCE_SIDECAR_HOSTNAME";
|
||||
|
||||
#[actix_web::main]
|
||||
async fn main() -> AnyhowResult<()> {
|
||||
|
||||
|
||||
Reference in new issue
Block a user