mirror of
https://github.com/neondatabase/neon.git
synced 2026-01-09 06:22:57 +00:00
Cleanup
This commit is contained in:
@@ -479,8 +479,6 @@ class NeonAPI:
|
||||
operations = self.get_operations(project_id)["operations"]
|
||||
for op in operations:
|
||||
if op["status"] in {"scheduling", "running", "cancelling"}:
|
||||
# XXX debug only, do not merge
|
||||
log.info("Waiting for operation: %s", op)
|
||||
has_running = True
|
||||
time.sleep(0.5)
|
||||
|
||||
|
||||
@@ -488,9 +488,6 @@ class NeonProject:
|
||||
),
|
||||
)
|
||||
self.wait()
|
||||
# XXX do not merge, debug only
|
||||
cur.execute("SELECT * FROM sanity_check WHERE name = 'snapsot_name'")
|
||||
log.info("sanity: %s", cur.fetchone())
|
||||
cur.execute("UPDATE sanity_check SET value = 'tainted' || value")
|
||||
conn.commit()
|
||||
return snapshot
|
||||
|
||||
Reference in New Issue
Block a user